Browse Source

Implement toString in MockSystemReader and MockConfig

This helps when debugging.

Change-Id: I3d72e1ea207ba60be77a7a9a840abb71ade1271c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-5.1
Matthias Sohn 5 years ago
parent
commit
9add6d3e24
  1. 11
      org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java

11
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java

@ -89,6 +89,11 @@ public class MockSystemReader extends SystemReader {
public boolean isOutdated() {
return false;
}
@Override
public String toString() {
return "MockConfig";
}
}
long now = 1250379778668L; // Sat Aug 15 20:12:58 GMT-03:30 2009
@ -285,4 +290,10 @@ public class MockSystemReader extends SystemReader {
e.printStackTrace();
}
}
@Override
public String toString() {
return "MockSystemReader";
}
}

Loading…
Cancel
Save