Skip to content

Commit

Permalink
Change variable and funcation names to comply with Java code conventi…
Browse files Browse the repository at this point in the history
…ons.
  • Loading branch information
quintinali committed May 30, 2018
1 parent 4a70033 commit 6f304fa
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ public Object execute() {
try(FileWriter fw = new FileWriter(file.getAbsoluteFile())){
bw = new BufferedWriter(fw);
File[] files = new File(this.props.getProperty(MudrodConstants.ONTOLOGY_INPUT_PATH)).listFiles();
for (File file_in : files) {
String ext = FilenameUtils.getExtension(file_in.getAbsolutePath());
for (File fileIn : files) {
String ext = FilenameUtils.getExtension(fileIn.getAbsolutePath());
if ("owl".equals(ext)) {
try {
loadxml(file_in.getAbsolutePath());
loadXml(fileIn.getAbsolutePath());
getAllClass();
} catch (JDOMException e1) {
e1.printStackTrace();
Expand All @@ -80,7 +80,6 @@ public Object execute() {
}
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

Expand All @@ -107,7 +106,7 @@ public Object execute() {
* @throws JDOMException JDOMException
* @throws IOException IOException
*/
public void loadxml(String filePathName) throws JDOMException, IOException {
public void loadXml(String filePathName) throws JDOMException, IOException {
SAXBuilder saxBuilder = new SAXBuilder();
File file = new File(filePathName);

Expand Down

0 comments on commit 6f304fa

Please sign in to comment.