From e913c34e194fdff42c1fa2ceedbcf8072d4d6b72 Mon Sep 17 00:00:00 2001 From: Prominence Date: Tue, 28 Jun 2016 14:22:22 +0300 Subject: [PATCH] Removed TODO about path. --- .../services/by/prominence/translations/BundleService.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/services/by/prominence/translations/BundleService.groovy b/grails-app/services/by/prominence/translations/BundleService.groovy index 04b6b93..32db795 100644 --- a/grails-app/services/by/prominence/translations/BundleService.groovy +++ b/grails-app/services/by/prominence/translations/BundleService.groovy @@ -45,7 +45,7 @@ class BundleService { } private boolean isTranslationProperty(File file) { - return file.parent.contains(DEFAULT_FOLDER) //TODO: is it necessary to use parent? + return file.path.contains(DEFAULT_FOLDER) } private String getFileNameWithoutExtension(String filename) {