Skip to content

Commit 9303fd9

Browse files
committed
Got rid of javadoc warning, issue checkstyle#548
1 parent 8f241f9 commit 9303fd9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ant-phase-compile.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
<entry key="checkstyle.compile.version" value="${mvn.project.version}"/>
88
<entry key="checkstyle.compile.timestamp" type="date" value="now" pattern="E MMMM dd yyyy, HH:mm z"/>
99
</propertyfile>
10-
1110
<javadoc sourcefiles="src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java"
1211
encoding="iso-8859-1"
13-
source="1.5"
12+
source="${java.version}"
1413
failonerror="yes">
1514
<classpath>
1615
<pathelement location="${mvn.project.build.outputDirectory}"/>

pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@
152152
<maven.site.plugin.version>3.4</maven.site.plugin.version>
153153
<tools.jar.version>1.7.0</tools.jar.version>
154154
<tools.jar.path>${java.home}/../lib/tools.jar</tools.jar.path>
155+
<java.version>1.7</java.version>
155156
</properties>
156157

157158
<dependencies>
@@ -277,8 +278,8 @@
277278
<artifactId>maven-compiler-plugin</artifactId>
278279
<version>2.3.2</version>
279280
<configuration>
280-
<source>1.7</source>
281-
<target>1.7</target>
281+
<source>${java.version}</source>
282+
<target>${java.version}</target>
282283
</configuration>
283284
</plugin>
284285

0 commit comments

Comments
 (0)