commit | c0d5422486a6da18547616a428aa758441703ab9 | [log] [tgz] |
---|---|---|
author | Christian Aistleitner <christian@quelltextlich.at> | Sat May 16 17:05:32 2020 +0200 |
committer | Christian Aistleitner <christian@quelltextlich.at> | Sat May 16 17:05:32 2020 +0200 |
tree | a1be4d4d8580fed49553aaa815fd4b741fa6b7bf | |
parent | dfcf6f1e4b6079e0d3f61784d48c39f06cd5526d [diff] |
Hide setting of token The method name has a typo. But as it is never used, we rather removed it for good to save on future maintenance. Change-Id: Ia564886feac2bfe8c049220f539a202547118b41
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java b/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java index 298a83e..097e1a6 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java +++ b/src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java
@@ -50,8 +50,7 @@ private final ConduitConnection conduitConnection; private final Gson gson; - - private String token; + private final String token; @Inject public Conduit( @@ -63,10 +62,6 @@ this.gson = new Gson(); } - public void setToekn(String token) { - this.token = token; - } - /** Runs the API's 'conduit.ping' method */ public ConduitPing conduitPing() throws ConduitException { Map<String, Object> params = new HashMap<>();