Skip to content
Browse files

Corrected indenting to match existing file

  • Loading branch information...
1 parent 9694d76 commit 75435c5747dc5a24a85b912dae802e6dbaf0da6e @sjhorn sjhorn committed with graemerocher Oct 2, 2012
View
14 ...ugin-i18n/src/main/groovy/org/codehaus/groovy/grails/plugins/i18n/I18nGrailsPlugin.groovy
@@ -67,13 +67,13 @@ class I18nGrailsPlugin {
for (resource in messageResources) {
// Check to see if the resource's parent directory (minus the "/grails-app/i18n" portion) is an "inline" plugin location
// Note that we skip ClassPathResource instances -- this is to allow the unit tests to pass.
- def isInlineResource = false
- try {
- isInlineResource = (resource instanceof ClassPathResource) ? false :
- BuildSettingsHolder?.settings?.isInlinePluginLocation(new File(resource.file.getParent().minus("/grails-app/i18n")))
- } catch(e) {
- // Ignore the failed getFile/getRealPath on a non exploded resource.
- }
+ def isInlineResource = false
+ try {
+ isInlineResource = (resource instanceof ClassPathResource) ? false :
+ BuildSettingsHolder?.settings?.isInlinePluginLocation(new File(resource.file.getParent().minus("/grails-app/i18n")))
+ } catch(e) {
+ // Ignore the failed getFile/getRealPath on a non exploded resource.
+ }
String path
// If the resource is from an inline plugin, use the absolute path of the resource. Otherwise,

0 comments on commit 75435c5

Please sign in to comment.
Something went wrong with that request. Please try again.