Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Commit

Permalink
Override read() in StEsEndPoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
SherifWaly committed Mar 29, 2017
1 parent 8d3d91c commit 44559b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/amihaiemil/charles/aws/StEsEndPoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public StEsEndPoint(final String name) {
@Override
public String read() {
String endPoint = super.read();
if(!endPoint.endsWith("\\")) {
endPoint += "\\";
if(!endPoint.endsWith("/")) {
endPoint += "/";
}
return endPoint;
}
Expand Down

0 comments on commit 44559b4

Please sign in to comment.