From 3da6ccfbbec0930879e676ab8d1c256751f2f628 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Tue, 20 Mar 2012 14:52:22 +0000
Subject: [PATCH] make runRouter() public

---
 router/java/src/net/i2p/router/Router.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/router/java/src/net/i2p/router/Router.java b/router/java/src/net/i2p/router/Router.java
index 0b3a97c9c2..b568046f6d 100644
--- a/router/java/src/net/i2p/router/Router.java
+++ b/router/java/src/net/i2p/router/Router.java
@@ -399,10 +399,12 @@ public class Router implements RouterClock.ClockShiftListener {
     public RouterContext getContext() { return _context; }
     
     /**
-     *  Initializes the RouterContext.
+     *  This must be called after instantiation.
      *  Starts the threads. Does not install updates.
+     *  Most users will just call main() instead.
+     *  @since public as of 0.9 for Android and other embedded uses
      */
-    void runRouter() {
+    public void runRouter() {
         if (_isAlive)
             throw new IllegalStateException();
         startupStuff();
-- 
GitLab