~stephan-pagel/jhelioviewer/jhv-pluginmanager

« back to all changes in this revision

Viewing changes to src/viewmodel/src/org/helioviewer/viewmodel/metadata/HelioviewerMetaData.java

  • Committer: Andre Dau
  • Date: 2012-03-15 13:22:02 UTC
  • Revision ID: andre.dau@web.de-20120315132202-eim8b9y59geo47cf
Fixed a nullpointer exception when loading remote images (thanks to Carlos Moro)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
public class HelioviewerMetaData extends AbstractMetaData implements SunMetaData, ObserverMetaData, ImageSizeMetaData, NonConstantMetaData {
24
24
 
25
25
    protected MetaDataContainer metaDataContainer;
26
 
    private String instrument;
27
 
    private String detector;
 
26
    private String instrument = "";
 
27
    private String detector = "";
28
28
    private String measurement = " ";
29
29
    private String observatory = " ";
30
 
    private String fullName;
 
30
    private String fullName = "";
31
31
    private Vector2dInt pixelImageSize = new Vector2dInt();
32
32
    private double solarPixelRadius = -1;
33
33
    private Vector2dDouble sunPixelPosition = new Vector2dDouble();