Browse Source

Merge branch '1.9.x'

master
Stefan Bodewig 8 years ago
parent
commit
b67ec71702
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java
  2. +1
    -1
      src/main/org/apache/tools/ant/types/resources/StringResource.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java View File

@@ -37,7 +37,7 @@ public class ChangeLogWriter {
private final SimpleDateFormat outputDate
= new SimpleDateFormat("yyyy-MM-dd");
/** output format for times written to xml file */
private static SimpleDateFormat outputTime
private SimpleDateFormat outputTime
= new SimpleDateFormat("HH:mm");
/** stateless helper for writing the XML document */
private static final DOMElementWriter DOM_WRITER = new DOMElementWriter();


+ 1
- 1
src/main/org/apache/tools/ant/types/resources/StringResource.java View File

@@ -158,7 +158,7 @@ public class StringResource extends Resource {
* @return hash code as int.
*/
@Override
public synchronized int hashCode() {
public synchronized int hashCode() { //NOSONAR
// super.equals + super.compareTo are consistent with this implementation
if (isReference()) {
return getCheckedRef().hashCode();


Loading…
Cancel
Save