This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push:
new d80210cd Use -=
d80210cd is described below
commit d80210cd98fa0c262809132f1352005e4120553a
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jan 15 09:21:37 2024 -0500
Use -=
---
.../src/main/java/org/apache/commons/vfs2/provider/UriParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/UriParser.java
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/UriParser.java
index 93db7b42..120ef411 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/UriParser.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/UriParser.java
@@ -535,7 +535,7 @@ public final class UriParser {
}
cursor = lastSeparator - 1;
while (readNonSeparator()) {
- cursor = cursor - 2;
+ cursor -= 2;
if (cursor < 0) {
// Previous element is the first element
cursor = 0;