@@ -111,7 +111,7 @@ public class UpgradeChecker {
111
111
};
112
112
113
113
/** Location of the OME registry. */
114
- public static final String REGISTRY = "http://upgrade .openmicroscopy.org.uk " ;
114
+ public static final String REGISTRY = "http://www .openmicroscopy.org/qa3/registry/hit " ;
115
115
116
116
/** Value of "bioformats.caller" for Bio-Formats utilities. */
117
117
public static final String DEFAULT_CALLER = "Bio-Formats utilities" ;
@@ -198,28 +198,28 @@ public boolean newVersionAvailable(String registryID, String caller) {
198
198
final StringBuilder query = new StringBuilder (REGISTRY );
199
199
for (int i =0 ; i <REGISTRY_PROPERTIES .length ; i ++) {
200
200
if (i == 0 ) {
201
- query .append ("?" );
201
+ // query.append("?");
202
202
}
203
203
else {
204
- query .append (";" );
204
+ // query.append(";");
205
205
}
206
206
207
- query .append (REGISTRY_PROPERTIES [i ]);
208
- query .append ("=" );
207
+ // query.append(REGISTRY_PROPERTIES[i]);
208
+ // query.append("=");
209
209
210
210
if (i == 0 ) {
211
- query .append (FormatTools .VERSION );
212
- }
213
- else {
214
- try {
215
- query .append (URLEncoder .encode (
216
- System .getProperty (REGISTRY_PROPERTIES [i ]), "UTF-8" ));
217
- }
218
- catch (UnsupportedEncodingException e ) {
219
- LOGGER .warn ("Failed to append query argument: " +
220
- REGISTRY_PROPERTIES [i ], e );
221
- }
211
+ // query.append(FormatTools.VERSION);
222
212
}
213
+ // else {
214
+ // try {
215
+ // //query.append(URLEncoder.encode(
216
+ // // System.getProperty(REGISTRY_PROPERTIES[i]), "UTF-8"));
217
+ // }
218
+ // catch (UnsupportedEncodingException e) {
219
+ // LOGGER.warn("Failed to append query argument: " +
220
+ // REGISTRY_PROPERTIES[i], e);
221
+ // }
222
+ // }
223
223
}
224
224
225
225
System .setProperty (UPGRADE_CHECK_PROPERTY , "true" );
0 commit comments