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 3bd41822 Better local variable name 3bd41822 is described below commit 3bd41822fd2c4424f6afe1d97d70dedfe8ee34d7 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Oct 13 08:01:03 2022 -0400 Better local variable name --- .../java/org/apache/commons/vfs2/provider/AbstractFileObject.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java index 0dbc2ce2..1bbd694a 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java @@ -1204,9 +1204,9 @@ public abstract class AbstractFileObject<AFS extends AbstractFileSystem> impleme throw new org.apache.commons.vfs2.FileNotFoundException(fileName, exc); } catch (final FileSystemException exc) { throw exc; - } catch (final UnsupportedOperationException exc) { + } catch (final UnsupportedOperationException uoe) { // Backward compatibility for subclasses before 2.5.0 - if (DO_GET_INPUT_STREAM_INT.equals(exc.getMessage())) { + if (DO_GET_INPUT_STREAM_INT.equals(uoe.getMessage())) { try { // Invoke old API. return doGetInputStream(); @@ -1217,7 +1217,7 @@ public abstract class AbstractFileObject<AFS extends AbstractFileSystem> impleme throw new FileSystemException("vfs.provider/read.error", fileName, e); } } - throw exc; + throw uoe; } catch (final Exception exc) { throw new FileSystemException("vfs.provider/read.error", fileName, exc); }