Skip to content

Commit 9bfc6f2

Browse files
committed
DATAES-424 - Fix line endings to LF.
1 parent 4bd263a commit 9bfc6f2

File tree

82 files changed

+11419
-11419
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+11419
-11419
lines changed

.gitignore

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
atlassian-ide-plugin.xml
2-
3-
## Ignore svn files
4-
.svn
5-
6-
## ignore any target dir
7-
target
8-
9-
## Ignore project files created by Eclipse
10-
.settings
11-
.project
12-
.classpath
13-
14-
## Ignore project files created by IntelliJ IDEA
15-
*.iml
16-
*.ipr
17-
*.iws
18-
.idea
1+
atlassian-ide-plugin.xml
2+
3+
## Ignore svn files
4+
.svn
5+
6+
## ignore any target dir
7+
target
8+
9+
## Ignore project files created by Eclipse
10+
.settings
11+
.project
12+
.classpath
13+
14+
## Ignore project files created by IntelliJ IDEA
15+
*.iml
16+
*.ipr
17+
*.iws
18+
.idea
Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
1-
/*
2-
* Copyright 2013 the original author or authors.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
package org.springframework.data.elasticsearch;
17-
18-
import java.util.Map;
19-
20-
/**
21-
* ElasticsearchException
22-
*
23-
* @author Rizwan Idrees
24-
* @author Mohsin Husen
25-
*/
26-
public class ElasticsearchException extends RuntimeException {
27-
28-
private Map<String, String> failedDocuments;
29-
30-
public ElasticsearchException(String message) {
31-
super(message);
32-
}
33-
34-
public ElasticsearchException(String message, Throwable cause) {
35-
super(message, cause);
36-
}
37-
38-
public ElasticsearchException(String message, Throwable cause, Map<String, String> failedDocuments) {
39-
super(message, cause);
40-
this.failedDocuments = failedDocuments;
41-
}
42-
43-
public ElasticsearchException(String message, Map<String, String> failedDocuments) {
44-
super(message);
45-
this.failedDocuments = failedDocuments;
46-
}
47-
48-
public Map<String, String> getFailedDocuments() {
49-
return failedDocuments;
50-
}
51-
}
1+
/*
2+
* Copyright 2013 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package org.springframework.data.elasticsearch;
17+
18+
import java.util.Map;
19+
20+
/**
21+
* ElasticsearchException
22+
*
23+
* @author Rizwan Idrees
24+
* @author Mohsin Husen
25+
*/
26+
public class ElasticsearchException extends RuntimeException {
27+
28+
private Map<String, String> failedDocuments;
29+
30+
public ElasticsearchException(String message) {
31+
super(message);
32+
}
33+
34+
public ElasticsearchException(String message, Throwable cause) {
35+
super(message, cause);
36+
}
37+
38+
public ElasticsearchException(String message, Throwable cause, Map<String, String> failedDocuments) {
39+
super(message, cause);
40+
this.failedDocuments = failedDocuments;
41+
}
42+
43+
public ElasticsearchException(String message, Map<String, String> failedDocuments) {
44+
super(message);
45+
this.failedDocuments = failedDocuments;
46+
}
47+
48+
public Map<String, String> getFailedDocuments() {
49+
return failedDocuments;
50+
}
51+
}
Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
1-
/*
2-
* Copyright 2013 the original author or authors.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
package org.springframework.data.elasticsearch.annotations;
17-
18-
import java.lang.annotation.*;
19-
20-
import org.springframework.data.annotation.Persistent;
21-
22-
/**
23-
* Document
24-
*
25-
* @author Rizwan Idrees
26-
* @author Mohsin Husen
27-
* @author Mason Chan
28-
*/
29-
30-
@Persistent
31-
@Inherited
32-
@Retention(RetentionPolicy.RUNTIME)
33-
@Target({ElementType.TYPE})
34-
public @interface Document {
35-
36-
String indexName();
37-
38-
String type() default "";
39-
40-
boolean useServerConfiguration() default false;
41-
42-
short shards() default 5;
43-
44-
short replicas() default 1;
45-
46-
String refreshInterval() default "1s";
47-
48-
String indexStoreType() default "fs";
49-
50-
boolean createIndex() default true;
51-
}
1+
/*
2+
* Copyright 2013 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package org.springframework.data.elasticsearch.annotations;
17+
18+
import java.lang.annotation.*;
19+
20+
import org.springframework.data.annotation.Persistent;
21+
22+
/**
23+
* Document
24+
*
25+
* @author Rizwan Idrees
26+
* @author Mohsin Husen
27+
* @author Mason Chan
28+
*/
29+
30+
@Persistent
31+
@Inherited
32+
@Retention(RetentionPolicy.RUNTIME)
33+
@Target({ElementType.TYPE})
34+
public @interface Document {
35+
36+
String indexName();
37+
38+
String type() default "";
39+
40+
boolean useServerConfiguration() default false;
41+
42+
short shards() default 5;
43+
44+
short replicas() default 1;
45+
46+
String refreshInterval() default "1s";
47+
48+
String indexStoreType() default "fs";
49+
50+
boolean createIndex() default true;
51+
}
Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
1-
/*
2-
* Copyright 2013 the original author or authors.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
package org.springframework.data.elasticsearch.annotations;
17-
18-
import java.lang.annotation.Documented;
19-
import java.lang.annotation.ElementType;
20-
import java.lang.annotation.Inherited;
21-
import java.lang.annotation.Retention;
22-
import java.lang.annotation.RetentionPolicy;
23-
import java.lang.annotation.Target;
24-
25-
/**
26-
* @author Rizwan Idrees
27-
* @author Mohsin Husen
28-
* @author Artur Konczak
29-
* @author Jonathan Yan
30-
* @author Jakub Vavrik
31-
* @author Kevin Leturc
32-
*/
33-
@Retention(RetentionPolicy.RUNTIME)
34-
@Target(ElementType.FIELD)
35-
@Documented
36-
@Inherited
37-
public @interface Field {
38-
39-
FieldType type() default FieldType.Auto;
40-
41-
boolean index() default true;
42-
43-
DateFormat format() default DateFormat.none;
44-
45-
String pattern() default "";
46-
47-
boolean store() default false;
48-
49-
boolean fielddata() default false;
50-
51-
String searchAnalyzer() default "";
52-
53-
String analyzer() default "";
54-
55-
String[] ignoreFields() default {};
56-
57-
boolean includeInParent() default false;
58-
}
1+
/*
2+
* Copyright 2013 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package org.springframework.data.elasticsearch.annotations;
17+
18+
import java.lang.annotation.Documented;
19+
import java.lang.annotation.ElementType;
20+
import java.lang.annotation.Inherited;
21+
import java.lang.annotation.Retention;
22+
import java.lang.annotation.RetentionPolicy;
23+
import java.lang.annotation.Target;
24+
25+
/**
26+
* @author Rizwan Idrees
27+
* @author Mohsin Husen
28+
* @author Artur Konczak
29+
* @author Jonathan Yan
30+
* @author Jakub Vavrik
31+
* @author Kevin Leturc
32+
*/
33+
@Retention(RetentionPolicy.RUNTIME)
34+
@Target(ElementType.FIELD)
35+
@Documented
36+
@Inherited
37+
public @interface Field {
38+
39+
FieldType type() default FieldType.Auto;
40+
41+
boolean index() default true;
42+
43+
DateFormat format() default DateFormat.none;
44+
45+
String pattern() default "";
46+
47+
boolean store() default false;
48+
49+
boolean fielddata() default false;
50+
51+
String searchAnalyzer() default "";
52+
53+
String analyzer() default "";
54+
55+
String[] ignoreFields() default {};
56+
57+
boolean includeInParent() default false;
58+
}

0 commit comments

Comments
 (0)