Ensure constants always used for fields in remaining places.
This commit is contained in:
parent
9135026362
commit
88107cf94e
@ -199,7 +199,7 @@ public class RepoUpdater {
|
|||||||
reader.setContentHandler(repoXMLHandler);
|
reader.setContentHandler(repoXMLHandler);
|
||||||
reader.parse(new InputSource(indexInputStream));
|
reader.parse(new InputSource(indexInputStream));
|
||||||
|
|
||||||
long timestamp = repoDetailsToSave.getAsLong("timestamp");
|
long timestamp = repoDetailsToSave.getAsLong(RepoTable.Cols.TIMESTAMP);
|
||||||
if (timestamp < repo.timestamp) {
|
if (timestamp < repo.timestamp) {
|
||||||
throw new UpdateException(repo, "index.jar is older that current index! "
|
throw new UpdateException(repo, "index.jar is older that current index! "
|
||||||
+ timestamp + " < " + repo.timestamp);
|
+ timestamp + " < " + repo.timestamp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user