File: Remove-FitsReaderSpi.patch

package info (click to toggle)
starjava-topcat 4.10.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,520 kB
  • sloc: java: 78,168; xml: 35,531; sh: 68; makefile: 24
file content (31 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Ole Streicher <olebole@debian.org>
Date: Mon, 9 Jan 2017 22:03:42 +0100
Subject: Remove FitsReaderSpi

---
 src/main/uk/ac/starlink/topcat/ImageWindow.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/main/uk/ac/starlink/topcat/ImageWindow.java b/src/main/uk/ac/starlink/topcat/ImageWindow.java
index 137a2f1..e1d7639 100644
--- a/src/main/uk/ac/starlink/topcat/ImageWindow.java
+++ b/src/main/uk/ac/starlink/topcat/ImageWindow.java
@@ -1,6 +1,5 @@
 package uk.ac.starlink.topcat;
 
-import edu.jhu.pha.sdss.fits.imageio.FITSReaderSpi;
 import java.awt.BorderLayout;
 import java.awt.Color;
 import java.awt.Component;
@@ -40,11 +39,6 @@ public class ImageWindow extends AuxWindow {
     private final IconLabel label_;
     private PosIcon icon_;
 
-    static {
-        IIORegistry.getDefaultInstance()
-                   .registerServiceProvider( new FITSReaderSpi() );
-    }
-
     /**
      * Constructs a new image window.
      *