From 042d19c020d8ebd296ef7ea43e98f86d5adb80a5 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Mon, 18 Jul 2011 16:43:15 +0400 Subject: [PATCH] Fix line-endings and mode bits --- plugins/sonar-i18n-en-plugin/pom.xml | 6 +- .../sonar/plugins/i18n/en/EnglishPack.java | 74 +++++++++---------- .../plugins/i18n/en/EnglishPackPlugin.java | 64 ++++++++-------- .../resources/org/sonar/i18n/core.properties | 0 .../org/sonar/i18n/design.properties | 0 5 files changed, 73 insertions(+), 71 deletions(-) mode change 100755 => 100644 plugins/sonar-i18n-en-plugin/pom.xml mode change 100755 => 100644 plugins/sonar-i18n-en-plugin/src/main/java/org/sonar/plugins/i18n/en/EnglishPackPlugin.java mode change 100755 => 100644 plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties mode change 100755 => 100644 plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/design.properties diff --git a/plugins/sonar-i18n-en-plugin/pom.xml b/plugins/sonar-i18n-en-plugin/pom.xml old mode 100755 new mode 100644 index 57e98d1efba..9e523b507f0 --- a/plugins/sonar-i18n-en-plugin/pom.xml +++ b/plugins/sonar-i18n-en-plugin/pom.xml @@ -1,14 +1,16 @@ 4.0.0 + org.codehaus.sonar sonar 2.10-SNAPSHOT ../.. + org.codehaus.sonar.plugins - sonar-i18n-en-plugin + sonar-i18n-en-plugin sonar-plugin Sonar :: Plugins :: I18n English Pack @@ -54,4 +56,4 @@ - \ No newline at end of file + diff --git a/plugins/sonar-i18n-en-plugin/src/main/java/org/sonar/plugins/i18n/en/EnglishPack.java b/plugins/sonar-i18n-en-plugin/src/main/java/org/sonar/plugins/i18n/en/EnglishPack.java index 62213736882..0a1838e5bf6 100644 --- a/plugins/sonar-i18n-en-plugin/src/main/java/org/sonar/plugins/i18n/en/EnglishPack.java +++ b/plugins/sonar-i18n-en-plugin/src/main/java/org/sonar/plugins/i18n/en/EnglishPack.java @@ -1,37 +1,37 @@ -/* - * Sonar, open source software quality management tool. - * Copyright (C) 2008-2011 SonarSource - * mailto:contact AT sonarsource DOT com - * - * Sonar is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * Sonar is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with Sonar; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 - */ -package org.sonar.plugins.i18n.en; - -import org.sonar.api.i18n.LanguagePack; - -import java.util.Arrays; -import java.util.List; -import java.util.Locale; - -public class EnglishPack extends LanguagePack { - - public List getPluginKeys() { - return Arrays.asList("core", "design", "squidjava"); - } - - public List getLocales() { - return Arrays.asList(Locale.ENGLISH); - } -} +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2008-2011 SonarSource + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ +package org.sonar.plugins.i18n.en; + +import org.sonar.api.i18n.LanguagePack; + +import java.util.Arrays; +import java.util.List; +import java.util.Locale; + +public class EnglishPack extends LanguagePack { + + public List getPluginKeys() { + return Arrays.asList("core", "design", "squidjava"); + } + + public List getLocales() { + return Arrays.asList(Locale.ENGLISH); + } +} diff --git a/plugins/sonar-i18n-en-plugin/src/main/java/org/sonar/plugins/i18n/en/EnglishPackPlugin.java b/plugins/sonar-i18n-en-plugin/src/main/java/org/sonar/plugins/i18n/en/EnglishPackPlugin.java old mode 100755 new mode 100644 index e78ad34f7fc..6bbe6f605e9 --- a/plugins/sonar-i18n-en-plugin/src/main/java/org/sonar/plugins/i18n/en/EnglishPackPlugin.java +++ b/plugins/sonar-i18n-en-plugin/src/main/java/org/sonar/plugins/i18n/en/EnglishPackPlugin.java @@ -1,32 +1,32 @@ -/* - * Sonar, open source software quality management tool. - * Copyright (C) 2008-2011 SonarSource - * mailto:contact AT sonarsource DOT com - * - * Sonar is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * Sonar is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with Sonar; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 - */ -package org.sonar.plugins.i18n.en; - -import org.sonar.api.SonarPlugin; - -import java.util.Arrays; -import java.util.List; - -public class EnglishPackPlugin extends SonarPlugin { - - public List getExtensions() { - return Arrays.asList(EnglishPack.class); - } -} +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2008-2011 SonarSource + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ +package org.sonar.plugins.i18n.en; + +import org.sonar.api.SonarPlugin; + +import java.util.Arrays; +import java.util.List; + +public class EnglishPackPlugin extends SonarPlugin { + + public List getExtensions() { + return Arrays.asList(EnglishPack.class); + } +} diff --git a/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties b/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties old mode 100755 new mode 100644 diff --git a/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/design.properties b/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/design.properties old mode 100755 new mode 100644 -- 2.39.5