Skip to content

Commit e0f6c16

Browse files
committed
Remove two public methods
1 parent a9194a2 commit e0f6c16

File tree

1 file changed

+0
-3
lines changed
  • core/arns/src/main/java/software/amazon/awssdk/arns

1 file changed

+0
-3
lines changed

core/arns/src/main/java/software/amazon/awssdk/arns/Arn.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,7 @@ public static Builder builder() {
151151
*/
152152
public static Arn fromString(String arn) {
153153
Validate.paramNotBlank(arn, "arn");
154-
return parseString(arn);
155-
}
156154

157-
public static Arn parseString(String arn) {
158155
int arnColonIndex = arn.indexOf(':');
159156
if (arnColonIndex < 0 || !"arn".equals(arn.substring(0, arnColonIndex))) {
160157
throw new IllegalArgumentException("Malformed ARN. Missing 'arn:' prefix: " + arn);

0 commit comments

Comments
 (0)