[josm] 12/28: Fix exception to catch in getTranslationFile().

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Oct 9 22:27:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository josm.

commit e5c7346ecf98a8d737787404ff6e2cc0fac4bfbb
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Oct 9 15:01:17 2015 +0200

    Fix exception to catch in getTranslationFile().
---
 debian/patches/06-move_data_out_of_jar.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/06-move_data_out_of_jar.patch b/debian/patches/06-move_data_out_of_jar.patch
index dfa2c9f..7c745a0 100644
--- a/debian/patches/06-move_data_out_of_jar.patch
+++ b/debian/patches/06-move_data_out_of_jar.patch
@@ -28,7 +28,7 @@ Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698608
 -        return Main.class.getResource("/data/"+lang.replace("@", "-")+".lang");
 +        try {
 +            return Main.class.getResource("/data/"+lang.replace("@", "-")+".lang");
-+        } catch (MalformedURLException ex) {
++        } catch (RuntimeException ex) {
 +            return null;
 +        }
      }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/josm.git



More information about the Pkg-grass-devel mailing list