Skip to content

Commit

Permalink
refactor: remove stringbuilder and use the string instead
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <[email protected]>
  • Loading branch information
otaviojava committed Mar 26, 2024
1 parent d7496bc commit 3b855b6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ public int numberOfElements() {

@Override
public boolean hasNext() {
throw new UnsupportedOperationException(new StringBuilder("Eclipse JNoSQL has no support for this feature ").append("hasNext").toString());
throw new UnsupportedOperationException("Eclipse JNoSQL has no support for this feature hasNext");
}

@Override
public boolean hasPrevious() {
throw new UnsupportedOperationException(new StringBuilder("Eclipse JNoSQL has no support for this feature ").append("hasPrevious").toString());
throw new UnsupportedOperationException("Eclipse JNoSQL has no support for this feature hasPrevious");
}

@Override
Expand Down Expand Up @@ -111,7 +111,7 @@ public <E> PageRequest<E> previousPageRequest(Class<E> type) {

@Override
public boolean hasTotals() {
throw new UnsupportedOperationException(new StringBuilder("Eclipse JNoSQL has no support for this feature ").append("hasTotals").toString());
throw new UnsupportedOperationException("Eclipse JNoSQL has no support for this feature hasTotals");
}

@Override
Expand Down

0 comments on commit 3b855b6

Please sign in to comment.