[jabref] 452/459: add patch for upstream bug #1240

gregor herrmann gregoa at debian.org
Thu Sep 15 20:41:39 UTC 2016


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

gregoa pushed a commit to branch master
in repository jabref.

commit b9ab365d19410ea7b28414f4bcec50e0ef572bfc
Author: tony mancill <tmancill at debian.org>
Date:   Wed Oct 21 20:45:00 2015 -0700

    add patch for upstream bug #1240
    
    http://sourceforge.net/p/jabref/bugs/1240/
---
 debian/patches/series              |  1 +
 debian/patches/upstream_1240.patch | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 9e1b7df..5307253 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ debian_libs.patch
 mrDlib_jayatana.patch
 generated_JabRefPlugin.java.patch
 fix-headless-bibtex-output.diff
+upstream_1240.patch
diff --git a/debian/patches/upstream_1240.patch b/debian/patches/upstream_1240.patch
new file mode 100644
index 0000000..6b21624
--- /dev/null
+++ b/debian/patches/upstream_1240.patch
@@ -0,0 +1,35 @@
+commit dd4676b6cc75f0ce38cf44843ab7abea89249fb1
+Author: Leonardo Haddad <leeohaddad at usp.br>
+Date:   Tue Oct 28 01:46:39 2014 -0200
+
+    Fixed bug #1240. Now, strings with length of one character can be included and no exception is thrown by the system.
+
+--- a/src/help/About.html
++++ b/src/help/About.html
+@@ -81,7 +81,8 @@
+         David Weitzman,
+         Seb Wills,
+         John Zedlewski,
+-        Waluyo Adi Siswanto</p>
++        Waluyo Adi Siswanto,
++        Leonardo Haddad Carlos</p>
+ 
+         <h2>Thanks to:</h2>
+ 
+--- a/src/java/net/sf/jabref/BibtexString.java
++++ b/src/java/net/sf/jabref/BibtexString.java
+@@ -1,4 +1,4 @@
+-/*  Copyright (C) 2003-2011 JabRef contributors.
++/*  Copyright (C) 2003-2014 JabRef contributors.
+     This program is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published by
+     the Free Software Foundation; either version 2 of the License, or
+@@ -67,7 +67,7 @@
+         }
+ 
+         public static final Type get(String name) {
+-        	if (name.length() == 0) {
++        	if (name.length() <= 1) {
+         		return OTHER;
+         	}
+             if (!(name.charAt(1) + "").toUpperCase().equals(

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



More information about the pkg-java-commits mailing list