From 72208c1fffaa52ec883a86a7cf9484c286d136d7 Mon Sep 17 00:00:00 2001 From: Patrick Huang Date: Fri, 25 Sep 2015 16:06:22 +1000 Subject: [PATCH] rename method names --- .../src/main/java/org/zanata/action/GlossaryAction.java | 2 +- .../src/main/java/org/zanata/action/VersionHomeAction.java | 4 ++-- .../WEB-INF/layout/glossary/upload_glossary_modal.xhtml | 2 +- .../WEB-INF/layout/version/upload_translation_modal.xhtml | 2 +- zanata-war/src/main/webapp/iteration/view.xhtml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/zanata-war/src/main/java/org/zanata/action/GlossaryAction.java b/zanata-war/src/main/java/org/zanata/action/GlossaryAction.java index 4c2848fa43..a7a50e4001 100644 --- a/zanata-war/src/main/java/org/zanata/action/GlossaryAction.java +++ b/zanata-war/src/main/java/org/zanata/action/GlossaryAction.java @@ -166,7 +166,7 @@ public void glossaryFileUploaded(FileUploadEvent event) throws IOException { glossaryFileUpload.setFileName(uploadedFile.getName()); } - public void glossaryFileCleared() { + public void clearGlossaryUpload() { glossaryFileUpload = new GlossaryFileUploadHelper(); } diff --git a/zanata-war/src/main/java/org/zanata/action/VersionHomeAction.java b/zanata-war/src/main/java/org/zanata/action/VersionHomeAction.java index 9ea150b433..e6c72a0e8f 100644 --- a/zanata-war/src/main/java/org/zanata/action/VersionHomeAction.java +++ b/zanata-war/src/main/java/org/zanata/action/VersionHomeAction.java @@ -1067,7 +1067,7 @@ public void sourceFileUploaded(FileUploadEvent event) throws IOException { } - public void sourceFileCleared() { + public void clearSourceFileUpload() { sourceFileUpload = new SourceFileUploadHelper(); } @@ -1077,7 +1077,7 @@ public void transFileUploaded(FileUploadEvent event) throws IOException { translationFileUpload.setFileContents(uploadedFile.getInputStream()); } - public void transFileCleared() { + public void clearTransFileUpload() { translationFileUpload = new TranslationFileUploadHelper(); } diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/glossary/upload_glossary_modal.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/glossary/upload_glossary_modal.xhtml index 25cb607f02..6284520f26 100644 --- a/zanata-war/src/main/webapp/WEB-INF/layout/glossary/upload_glossary_modal.xhtml +++ b/zanata-war/src/main/webapp/WEB-INF/layout/glossary/upload_glossary_modal.xhtml @@ -108,7 +108,7 @@ #{msgs['jsf.Glossary.supportedFileFormat']} - +
- + - +