~ubuntu-branches/ubuntu/trusty/jabref/trusty

« back to all changes in this revision

Viewing changes to src/java/net/sf/jabref/net/Cookie.java

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2009-12-01 18:52:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20091201185251-08e2unpn1jl8ijq8
Tags: 2.6~beta2-1
* Remove alternative dependency on sun-java5-jre which was removed from the
  archive. Also adjust README.Debian and /usr/bin/jabref.
* New upstream beta release:
  - fixes "allow to disable (re)storing of current tab for entries"
    (closes: #447767)
  - thanks again to Philip Rinn for his help with the upgrade
* debian/copyright: add new developer.
* Refresh patches 01_free_javac.patch and 06_BibtexEntry.patch.
* Adjust debian/jabref.links and debian/jabref.install to new jar file.
* Simplify debian/jabref.dirs.
* Add a presubj fragment for reportbug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
          }
56
56
          uriDomain = uriDomain.substring(
57
57
            uriDomain.indexOf('.'));
58
 
          if (!uriDomain.equals(value)) {
59
 
            throw new IllegalArgumentException(
60
 
              "Trying to set foreign cookie");
 
58
          if (!uriDomain.equals(value) && !uriDomain.endsWith(value)) {
 
59
            throw new IllegalArgumentException("Trying to set foreign cookie");
61
60
          }
62
61
          this.domain = value;
63
62
        }