File tree Expand file tree Collapse file tree 2 files changed +38
-3
lines changed
src/main/java/de/danielbechler/diff Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Original file line number Diff line number Diff line change 1515 ~ limitations under the License.
1616 -->
1717
18- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
18+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
19+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
1920
2021 <parent >
2122 <groupId >org.sonatype.oss</groupId >
8182 <plugin >
8283 <artifactId >maven-release-plugin</artifactId >
8384 <configuration >
84- <scmCommentPrefix />
85+ <scmCommentPrefix />
8586 </configuration >
8687 </plugin >
8788 <plugin >
155156 </execution >
156157 </executions >
157158 </plugin >
159+ <plugin >
160+ <groupId >org.jvnet</groupId >
161+ <artifactId >animal-sniffer</artifactId >
162+ <version >1.2</version >
163+ <executions >
164+ <execution >
165+ <id >animal-sniffer</id >
166+ <phase >compile</phase >
167+ <goals >
168+ <goal >check</goal >
169+ </goals >
170+ <configuration >
171+ <signature >
172+ <groupId >org.jvnet.animal-sniffer</groupId >
173+ <artifactId >java1.5</artifactId >
174+ <version >1.0</version >
175+ </signature >
176+ </configuration >
177+ </execution >
178+ </executions >
179+ <dependencies >
180+ <dependency >
181+ <groupId >org.jvnet.animal-sniffer</groupId >
182+ <artifactId >java1.5</artifactId >
183+ <version >1.0</version >
184+ <type >sig</type >
185+ </dependency >
186+ </dependencies >
187+ </plugin >
158188 </plugins >
159189 <pluginManagement >
160190 <plugins >
Original file line number Diff line number Diff line change 2424/** @author Daniel Bechler */
2525class CircularReferenceDetector
2626{
27- private final Deque <Entry > stack = new LinkedList <Entry >();
27+ /**
28+ * It would be better to use <code>java.util.Deque</code> instead of the linked list, but that was first
29+ * introduced in Java 6 and would break compatibility with Java 5.
30+ */
31+ @ SuppressWarnings ("TypeMayBeWeakened" )
32+ private final LinkedList <Entry > stack = new LinkedList <Entry >();
2833
2934 private ReferenceMatchingMode referenceMatchingMode = ReferenceMatchingMode .EQUALITY_OPERATOR ;
3035
You can’t perform that action at this time.
0 commit comments