[tor-commits] [metrics-lib/release] Access static method via class.
karsten at torproject.org
karsten at torproject.org
Wed Sep 26 15:13:24 UTC 2018
commit 5ec75a50c87e364920c9547fd2f81f63283d32ca
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Mon Aug 20 19:53:00 2018 +0200
Access static method via class.
---
.../org/torproject/descriptor/index/DescriptorIndexCollectorTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/torproject/descriptor/index/DescriptorIndexCollectorTest.java b/src/test/java/org/torproject/descriptor/index/DescriptorIndexCollectorTest.java
index 6e4978b..2ac3359 100644
--- a/src/test/java/org/torproject/descriptor/index/DescriptorIndexCollectorTest.java
+++ b/src/test/java/org/torproject/descriptor/index/DescriptorIndexCollectorTest.java
@@ -131,7 +131,7 @@ public class DescriptorIndexCollectorTest {
IndexNode in = new IndexNode("2016-01-01 01:01",
remoteDirectory, null, dm);
File indexFile = tmpf.newFile(name);
- in.writeIndex(indexFile.toPath(), in);
+ IndexNode.writeIndex(indexFile.toPath(), in);
return indexFile;
}
More information about the tor-commits
mailing list