Skip to content

Commit

Permalink
[misc] remove getPassword() from connection implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Sep 7, 2017
1 parent a6d6dd3 commit de745e4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
9 changes: 0 additions & 9 deletions src/main/java/org/mariadb/jdbc/MariaDbConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -1467,15 +1467,6 @@ public String getUsername() {
return protocol.getUsername();
}

/**
* returns the password for the connection.
*
* @return the password.
*/
public String getPassword() {
return protocol.getPassword();
}

/**
* returns the hostname for the connection.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1092,10 +1092,6 @@ public String getUsername() {
return username;
}

public String getPassword() {
return password;
}

private void parseVersion() {
String[] versionArray = serverVersion.split("[^0-9]");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ public interface Protocol {

String getUsername();

String getPassword();

boolean ping() throws SQLException;

boolean isValid() throws SQLException;
Expand Down

0 comments on commit de745e4

Please sign in to comment.