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

Commit

Permalink
replace angular brackets
Browse files Browse the repository at this point in the history
see issue #1
  • Loading branch information
MenoData committed May 20, 2015
1 parent 1984191 commit f9f0ffa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.menodata</groupId>
<artifactId>doctags</artifactId>
<version>1.0</version>
<version>2.0</version>
<packaging>jar</packaging>
<name>DocTags</name>
<description>Additional JavaDoc-Tags</description>
Expand Down Expand Up @@ -60,7 +60,7 @@
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6.0</version>
<version>1.8.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
Expand All @@ -78,8 +78,8 @@
<fork>true</fork>
<compilerVersion>${jdk.min.version}</compilerVersion>
<encoding>${project.build.sourceEncoding}</encoding>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<debug>true</debug>
Expand Down Expand Up @@ -181,7 +181,7 @@
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand All @@ -203,7 +203,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jdk.min.version>1.6</jdk.min.version>
<jdk.min.version>1.8</jdk.min.version>
</properties>

</project>
8 changes: 4 additions & 4 deletions src/main/java/de/menodata/taglets/ConcurrencyTaglet.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,16 @@ public String toString(Tag[] tags) {
private static String translate(String word) {
String w = word.trim();

if (w.equals("<immutable>")) {
if (w.equals("{immutable}")) {
return "This class is immutable and "
+ "can be used by multiple threads in parallel.";
} else if (w.equals("<threadsafe>")) {
} else if (w.equals("{threadsafe}")) {
return "This class is thread-safe and "
+ "can be used by multiple threads in parallel.";
} else if (w.equals("<stateless>")) {
} else if (w.equals("{stateless}")) {
return "This class is stateless and "
+ "can be used by multiple threads in parallel.";
} else if (w.equals("<mutable>")) {
} else if (w.equals("{mutable}")) {
return "This class is mutable and "
+ "hence intended for use in a single thread only.";
} else {
Expand Down

0 comments on commit f9f0ffa

Please sign in to comment.