comparison src/com/tmate/hgkit/ll/HgManifest.java @ 28:b2251b7a9823

Explicit cons arg for clone is more error-prone
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 11 Jan 2011 04:34:34 +0100
parents d4fdd1845b3f
children 9429c7bd1920
comparison
equal deleted inserted replaced
27:b0a15cefdfd6 28:b2251b7a9823
20 20
21 public void next(int revisionNumber, int actualLen, int baseRevision, int linkRevision, int parent1Revision, int parent2Revision, byte[] nodeid, byte[] data) { 21 public void next(int revisionNumber, int actualLen, int baseRevision, int linkRevision, int parent1Revision, int parent2Revision, byte[] nodeid, byte[] data) {
22 if (!gtg) { 22 if (!gtg) {
23 return; 23 return;
24 } 24 }
25 gtg = gtg && inspector.begin(revisionNumber, new Nodeid(nodeid.clone())); 25 gtg = gtg && inspector.begin(revisionNumber, new Nodeid(nodeid, true));
26 int i; 26 int i;
27 String fname = null; 27 String fname = null;
28 String flags = null; 28 String flags = null;
29 Nodeid nid = null; 29 Nodeid nid = null;
30 for (i = 0; gtg && i < actualLen; i++) { 30 for (i = 0; gtg && i < actualLen; i++) {