Skip to content

Commit

Permalink
Fix formatting for AccumuloHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
drewfarris committed Jul 26, 2023
1 parent 40eecad commit 18955bf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@ public static void setInstanceName(Configuration conf, String instanceName) {
public static void setZooKeepers(Configuration conf, String zooKeepers) {
conf.set(ZOOKEEPERS, zooKeepers);
}

public static String getUsername(Configuration conf) {
return conf.get(USERNAME);
}

public static byte[] getPassword(Configuration conf) {
return Base64.decodeBase64(ConfigurationHelper.isNull(conf, PASSWORD, String.class).getBytes());
}

public static String getInstanceName(Configuration conf) {
return conf.get(INSTANCE_NAME);
}

public static String getZooKeepers(Configuration conf) {
return conf.get(ZOOKEEPERS);
}
Expand Down

0 comments on commit 18955bf

Please sign in to comment.