diff --git a/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/editor/Editor.java b/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/editor/Editor.java index 65cf2f4..346bcbd 100644 --- a/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/editor/Editor.java +++ b/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/editor/Editor.java @@ -162,10 +162,10 @@ String extension =""; if(file != null && file.exists()) { - //�t�@�C�������擾 + // get a file's name String name = file.getName(); - //�g���q���擾 + // get a file's extention extension = name.substring(name.lastIndexOf(".")); } if(extension.contains(".model")) { @@ -225,10 +225,10 @@ File file = new File(curFilePath); String extension = ""; if(file != null && file.exists()) { - // get file's name + // get a file's name String name = file.getName(); - // get file's extention + // get a file's extention extension = name.substring(name.lastIndexOf(".")); } if(extension.contains(".model")) {