You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2017/09/20 22:23:49 UTC
[myfaces-tobago] branch master updated: TOBAGO-1782: Clean up *
removing dependency to commons-beanutils * checkstyle
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new 6c4007e TOBAGO-1782: Clean up * removing dependency to commons-beanutils * checkstyle
6c4007e is described below
commit 6c4007eaa10095b5322f9bf34d96bc208bba5858
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Sep 21 00:23:32 2017 +0200
TOBAGO-1782: Clean up
* removing dependency to commons-beanutils
* checkstyle
---
.../java/org/apache/myfaces/tobago/internal/util/PartUtils.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/PartUtils.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/PartUtils.java
index 51a8a41..3c0e5b8 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/PartUtils.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/PartUtils.java
@@ -39,7 +39,7 @@ public final class PartUtils {
private static final Logger LOG = LoggerFactory.getLogger(PartUtils.class);
- private static final Method submittedFileNameMethod = findSubmittedFileNameMethod();
+ private static final Method SUBMITTED_FILE_NAME_METHOD = findSubmittedFileNameMethod();
private PartUtils() {
// to prevent instantiation
@@ -70,8 +70,8 @@ public final class PartUtils {
public static String getSubmittedFileName(Part part) {
try { // try to call the Servlet 3.1 function
- if (submittedFileNameMethod != null) {
- final String fileName = (String) submittedFileNameMethod.invoke(part);
+ if (SUBMITTED_FILE_NAME_METHOD != null) {
+ final String fileName = (String) SUBMITTED_FILE_NAME_METHOD.invoke(part);
LOG.debug("Upload file name = '{}'", fileName);
return fileName;
}
--
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <co...@myfaces.apache.org>'].