Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2016-09-08 17:23:58 +0000
committerMarkus Keller2016-09-08 18:28:18 +0000
commit79bb52bb007e85f826f9f7a3269a3bca6b82dbe0 (patch)
tree864ae515f87bdcad6889b7fd2069f707a8da71f6 /org.eclipse.jdt.compiler.apt.tests
parent692bacf3327755b55530860e93e2d2b4cc0fe345 (diff)
downloadeclipse.jdt.core-79bb52bb007e85f826f9f7a3269a3bca6b82dbe0.tar.gz
eclipse.jdt.core-79bb52bb007e85f826f9f7a3269a3bca6b82dbe0.tar.xz
eclipse.jdt.core-79bb52bb007e85f826f9f7a3269a3bca6b82dbe0.zip
Bug 497419: Fix CRLF line endings in jdt.core sources
Diffstat (limited to 'org.eclipse.jdt.compiler.apt.tests')
-rw-r--r--org.eclipse.jdt.compiler.apt.tests/apttestprocessors.jardesc32
-rw-r--r--org.eclipse.jdt.compiler.apt.tests/processors/org/eclipse/jdt/compiler/apt/tests/processors/AnnotationProcessorTests/Bug493837Proc.java70
2 files changed, 51 insertions, 51 deletions
diff --git a/org.eclipse.jdt.compiler.apt.tests/apttestprocessors.jardesc b/org.eclipse.jdt.compiler.apt.tests/apttestprocessors.jardesc
index 23a05969b4..7953fc6896 100644
--- a/org.eclipse.jdt.compiler.apt.tests/apttestprocessors.jardesc
+++ b/org.eclipse.jdt.compiler.apt.tests/apttestprocessors.jardesc
@@ -1,16 +1,16 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<jardesc>
- <jar path="org.eclipse.jdt.compiler.apt.tests/lib/apttestprocessors.jar"/>
- <options buildIfNeeded="true" compress="true" descriptionLocation="/org.eclipse.jdt.compiler.apt.tests/apttestprocessors.jardesc" exportErrors="false" exportWarnings="true" includeDirectoryEntries="false" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
- <storedRefactorings deprecationInfo="true" structuralOnly="false"/>
- <selectedProjects/>
- <manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
- <sealing sealJar="false">
- <packagesToSeal/>
- <packagesToUnSeal/>
- </sealing>
- </manifest>
- <selectedElements exportClassFiles="true" exportJavaFiles="true" exportOutputFolder="false">
- <javaElement handleIdentifier="=org.eclipse.jdt.compiler.apt.tests/processors"/>
- </selectedElements>
-</jardesc>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<jardesc>
+ <jar path="org.eclipse.jdt.compiler.apt.tests/lib/apttestprocessors.jar"/>
+ <options buildIfNeeded="true" compress="true" descriptionLocation="/org.eclipse.jdt.compiler.apt.tests/apttestprocessors.jardesc" exportErrors="false" exportWarnings="true" includeDirectoryEntries="false" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
+ <storedRefactorings deprecationInfo="true" structuralOnly="false"/>
+ <selectedProjects/>
+ <manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
+ <sealing sealJar="false">
+ <packagesToSeal/>
+ <packagesToUnSeal/>
+ </sealing>
+ </manifest>
+ <selectedElements exportClassFiles="true" exportJavaFiles="true" exportOutputFolder="false">
+ <javaElement handleIdentifier="=org.eclipse.jdt.compiler.apt.tests/processors"/>
+ </selectedElements>
+</jardesc>
diff --git a/org.eclipse.jdt.compiler.apt.tests/processors/org/eclipse/jdt/compiler/apt/tests/processors/AnnotationProcessorTests/Bug493837Proc.java b/org.eclipse.jdt.compiler.apt.tests/processors/org/eclipse/jdt/compiler/apt/tests/processors/AnnotationProcessorTests/Bug493837Proc.java
index 76eaee1715..ee5455a7c5 100644
--- a/org.eclipse.jdt.compiler.apt.tests/processors/org/eclipse/jdt/compiler/apt/tests/processors/AnnotationProcessorTests/Bug493837Proc.java
+++ b/org.eclipse.jdt.compiler.apt.tests/processors/org/eclipse/jdt/compiler/apt/tests/processors/AnnotationProcessorTests/Bug493837Proc.java
@@ -1,36 +1,36 @@
-package org.eclipse.jdt.compiler.apt.tests.processors.AnnotationProcessorTests;
-
-import java.util.Set;
-
-import javax.annotation.processing.RoundEnvironment;
-import javax.annotation.processing.SupportedAnnotationTypes;
-import javax.annotation.processing.SupportedSourceVersion;
-import javax.lang.model.SourceVersion;
-import javax.lang.model.element.Element;
-import javax.lang.model.element.TypeElement;
-import javax.lang.model.type.MirroredTypesException;
-
-import org.eclipse.jdt.compiler.apt.tests.processors.base.BaseProcessor;
-
-@SupportedAnnotationTypes({"org.eclipse.jdt.compiler.apt.tests.processors.AnnotationProcessorTests.Bug493837Anno"})
-@SupportedSourceVersion(SourceVersion.RELEASE_6)
-public class Bug493837Proc extends BaseProcessor {
- @Override
- public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
- if(roundEnv.processingOver()) return false;
-
- for(TypeElement ann: annotations) {
- for(Element type: roundEnv.getElementsAnnotatedWith(ann)) {
- Bug493837Anno anno = type.getAnnotation(Bug493837Anno.class);
- try {
- anno.value();
- reportError(type.getSimpleName() + " didn't thorw a MirroredTypesException");
- } catch(MirroredTypesException e) {
- }
- }
- }
-
- return false;
- }
-
+package org.eclipse.jdt.compiler.apt.tests.processors.AnnotationProcessorTests;
+
+import java.util.Set;
+
+import javax.annotation.processing.RoundEnvironment;
+import javax.annotation.processing.SupportedAnnotationTypes;
+import javax.annotation.processing.SupportedSourceVersion;
+import javax.lang.model.SourceVersion;
+import javax.lang.model.element.Element;
+import javax.lang.model.element.TypeElement;
+import javax.lang.model.type.MirroredTypesException;
+
+import org.eclipse.jdt.compiler.apt.tests.processors.base.BaseProcessor;
+
+@SupportedAnnotationTypes({"org.eclipse.jdt.compiler.apt.tests.processors.AnnotationProcessorTests.Bug493837Anno"})
+@SupportedSourceVersion(SourceVersion.RELEASE_6)
+public class Bug493837Proc extends BaseProcessor {
+ @Override
+ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
+ if(roundEnv.processingOver()) return false;
+
+ for(TypeElement ann: annotations) {
+ for(Element type: roundEnv.getElementsAnnotatedWith(ann)) {
+ Bug493837Anno anno = type.getAnnotation(Bug493837Anno.class);
+ try {
+ anno.value();
+ reportError(type.getSimpleName() + " didn't thorw a MirroredTypesException");
+ } catch(MirroredTypesException e) {
+ }
+ }
+ }
+
+ return false;
+ }
+
} \ No newline at end of file

Back to the top