client/src/main/java/lighthouse/subwindows/UpdateFXWindow.java
@Nullable
    private UpdateSummary loadCachedIndex() {
        try (InputStream is = Files.newInputStream(Main.unadjustedAppDir.resolve(CACHED_UPDATE_SUMMARY))) {
            return new UpdateSummary(Main.VERSION, UFXProtocol.Updates.parseDelimitedFrom(is));
        } catch (IOException e) {
            return null;
        }
    }
// we are offline, or null if not found or some other error.
we are offline, or null if not found or some other error.
we are offline or null if not found or some other error .
@Nullable
    private UpdateSummary loadCachedIndex() {
        try (InputStream is = Files.newInputStream(Main.unadjustedAppDir.resolve(CACHED_UPDATE_SUMMARY))) {
            return new UpdateSummary(Main.VERSION, UFXProtocol.Updates.parseDelimitedFrom(is));
        } catch (IOException e) {
            return null;
        }
    }
@ Nullable private UpdateSummary loadCachedIndex ( ) { try ( InputStream is = Files . newInputStream ( Main . unadjustedAppDir . resolve ( CACHED_UPDATE_SUMMARY ) ) ) { return new UpdateSummary ( Main . VERSION , UFXProtocol . Updates . parseDelimitedFrom ( is ) ) ; } catch ( IOException e ) { return null ; } }
we are offline, or null if not found or some other error.
we are offline or null if not found or some other error .