Package: sweethome3d
Followup-For: Bug #778947
Control: tags -1 +patch

Looking at src/com/eteks/sweethome3d/viewcontroller/HomeController.java:

  /**
   * Checks if some application or libraries updates are available.
   * @since 4.0
   */
  public void checkUpdates(final boolean displayOnlyIfNewUpdates) {
    String updatesUrl = getPropertyValue("com.eteks.sweethome3d.updatesUrl", 
"updatesUrl");
    if (updatesUrl != null && updatesUrl.length() > 0) {
      final URL url;
      try {
        url = new URL(updatesUrl);
      } catch (MalformedURLException ex) {
        ex.printStackTrace();
        return;
      }

It seems that setting updatesUrl to an empty value might resolve the
issue. I haven't tested it, but the following patch might work:

Index: sweethome3d/src/com/eteks/sweethome3d/viewcontroller/package.properties
===================================================================
--- sweethome3d.orig/src/com/eteks/sweethome3d/viewcontroller/package.properties
+++ sweethome3d/src/com/eteks/sweethome3d/viewcontroller/package.properties
@@ -122,7 +122,7 @@ HomeController.updatesMessageStyleSheet=
     .update { text-align: center; font-weight: normal; margin-bottom: 0;} \
     .releaseDateAndSize { font-size: 95%; text-align: center; margin-top: 0; 
margin-bottom: 0;} \
     .downloadPage { text-align: center; margin-top: 2px; margin-bottom: 0;} 
-HomeController.updatesUrl=http://www.sweethome3d.com/SweetHome3DUpdates.xml
+HomeController.updatesUrl=
 
 
 # Resources for Home3DAttributesController class



live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to