[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-lib/release] Access static method via class.
commit 5ec75a50c87e364920c9547fd2f81f63283d32ca
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits