
commit 29f3e4ac2abfc09ae461cc0b8b04f63051642eb7 Author: Karsten Loesing <karsten.loesing@gmx.net> Date: Wed Mar 21 16:19:46 2012 +0100 Clarify that platforms can be null. --- .../torproject/descriptor/ServerDescriptor.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/org/torproject/descriptor/ServerDescriptor.java b/src/org/torproject/descriptor/ServerDescriptor.java index 2aa9364..1fe1f21 100644 --- a/src/org/torproject/descriptor/ServerDescriptor.java +++ b/src/org/torproject/descriptor/ServerDescriptor.java @@ -40,7 +40,8 @@ public interface ServerDescriptor extends Descriptor { public int getBandwidthObserved(); /* Return the platform string containing the Tor software version and - * the operating system. */ + * the operating system, or null if this descriptor does not contain a + * platform line. */ public String getPlatform(); /* Return the time when this descriptor and the corresponding extra-info