// lang);\r
\r
String sourceFileName = source.getFileName().toString();\r
- //A kiterjesztest elirjak pl. nagybetusre\r
+ // A kiterjesztest elirjak pl. nagybetusre\r
String extension = FilenameUtils.getExtension(sourceFileName);\r
Path archive = Paths.get(archiveRoot.toString(), sourceFileName.replace("." + extension, "_" + lang + ".stl"));\r
boolean isOverride = archive.toFile().exists();\r
\r
try {\r
Files.copy(archive, sync, StandardCopyOption.REPLACE_EXISTING);\r
- boolean isContentEquals = Arrays.equals(Files.readAllBytes(archive), Files.readAllBytes(sync));\r
- if (isContentEquals)\r
+ boolean isContentEqual = Arrays.equals(Files.readAllBytes(archive), Files.readAllBytes(sync));\r
+ if (isContentEqual)\r
logger.info(getMarker(), "Successfully synchronized {}", archive);\r
else\r
throw new Exception("Synchronization source and target content not equals");\r