Skip to content
This repository was archived by the owner on Dec 16, 2021. It is now read-only.

Commit f9f0ffa

Browse files
committed
replace angular brackets
see issue #1
1 parent 1984191 commit f9f0ffa

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>de.menodata</groupId>
66
<artifactId>doctags</artifactId>
7-
<version>1.0</version>
7+
<version>2.0</version>
88
<packaging>jar</packaging>
99
<name>DocTags</name>
1010
<description>Additional JavaDoc-Tags</description>
@@ -60,7 +60,7 @@
6060
<dependency>
6161
<groupId>com.sun</groupId>
6262
<artifactId>tools</artifactId>
63-
<version>1.6.0</version>
63+
<version>1.8.0</version>
6464
<scope>system</scope>
6565
<systemPath>${java.home}/../lib/tools.jar</systemPath>
6666
</dependency>
@@ -78,8 +78,8 @@
7878
<fork>true</fork>
7979
<compilerVersion>${jdk.min.version}</compilerVersion>
8080
<encoding>${project.build.sourceEncoding}</encoding>
81-
<source>1.6</source>
82-
<target>1.6</target>
81+
<source>1.8</source>
82+
<target>1.8</target>
8383
<showDeprecation>true</showDeprecation>
8484
<showWarnings>true</showWarnings>
8585
<debug>true</debug>
@@ -181,7 +181,7 @@
181181
<inherited>true</inherited>
182182
<groupId>org.apache.maven.plugins</groupId>
183183
<artifactId>maven-gpg-plugin</artifactId>
184-
<version>1.5</version>
184+
<version>1.6</version>
185185
<executions>
186186
<execution>
187187
<id>sign-artifacts</id>
@@ -203,7 +203,7 @@
203203
<properties>
204204
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
205205
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
206-
<jdk.min.version>1.6</jdk.min.version>
206+
<jdk.min.version>1.8</jdk.min.version>
207207
</properties>
208208

209209
</project>

src/main/java/de/menodata/taglets/ConcurrencyTaglet.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,16 @@ public String toString(Tag[] tags) {
109109
private static String translate(String word) {
110110
String w = word.trim();
111111

112-
if (w.equals("<immutable>")) {
112+
if (w.equals("{immutable}")) {
113113
return "This class is immutable and "
114114
+ "can be used by multiple threads in parallel.";
115-
} else if (w.equals("<threadsafe>")) {
115+
} else if (w.equals("{threadsafe}")) {
116116
return "This class is thread-safe and "
117117
+ "can be used by multiple threads in parallel.";
118-
} else if (w.equals("<stateless>")) {
118+
} else if (w.equals("{stateless}")) {
119119
return "This class is stateless and "
120120
+ "can be used by multiple threads in parallel.";
121-
} else if (w.equals("<mutable>")) {
121+
} else if (w.equals("{mutable}")) {
122122
return "This class is mutable and "
123123
+ "hence intended for use in a single thread only.";
124124
} else {

0 commit comments

Comments
 (0)