File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed
Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<classpath >
3- <classpathentry kind =" src" output =" build/classes" path =" src" >
3+ <classpathentry including = " **/*.java " kind =" src" output =" build/classes" path =" src" >
44 <attributes >
55 <attribute name =" optional" value =" true" />
66 <attribute name =" maven.pomderived" value =" true" />
77 </attributes >
88 </classpathentry >
9- <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 " >
9+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 " >
1010 <attributes >
1111 <attribute name =" maven.pomderived" value =" true" />
1212 </attributes >
Original file line number Diff line number Diff line change 11eclipse.preferences.version =1
2- org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.7
3- org.eclipse.jdt.core.compiler.compliance =1.7
2+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.8
3+ org.eclipse.jdt.core.compiler.compliance =1.8
4+ org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures =disabled
45org.eclipse.jdt.core.compiler.problem.forbiddenReference =warning
5- org.eclipse.jdt.core.compiler.source =1.7
6+ org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures =ignore
7+ org.eclipse.jdt.core.compiler.release =disabled
8+ org.eclipse.jdt.core.compiler.source =1.8
Original file line number Diff line number Diff line change 3838 </scm >
3939
4040 <properties >
41- <maven .compiler.source>1.7 </maven .compiler.source>
42- <maven .compiler.target>1.7 </maven .compiler.target>
41+ <maven .compiler.source>1.8 </maven .compiler.source>
42+ <maven .compiler.target>1.8 </maven .compiler.target>
4343 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
4444 <maven-compiler-plugin .version>3.8.0</maven-compiler-plugin .version>
4545 <maven-source-plugin .version>3.0.1</maven-source-plugin .version>
5353 <dependency >
5454 <groupId >org.slf4j</groupId >
5555 <artifactId >slf4j-api</artifactId >
56- <version >1.7.5 </version >
56+ <version >2.0.16 </version >
5757 </dependency >
5858 </dependencies >
5959
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ public int next() throws IOException {
180180 if (fileSize < 0 ) {
181181 int type = in .getInt () & 0xFFFF ;
182182 if (type != RES_XML_TYPE ) {
183- throw new RuntimeException ();
183+ throw new RuntimeException (String . format ( "Resource type was 0x%04X instead of XML_TYPE (0x0003)" , type ) );
184184 }
185185 fileSize = in .getInt ();
186186 return START_FILE ;
You can’t perform that action at this time.
0 commit comments