source: josm/trunk/src/org/openstreetmap/josm/data/osm/DataSource.java @ 5241

Revision 2986, 435 bytes checked in by jttt, 2 years ago (diff)

Fix some of FindBugs warnings

  • Property svn:eol-style set to native
Line 
1// License: GPL. Copyright 2007 by Immanuel Scholz and others
2package org.openstreetmap.josm.data.osm;
3
4import org.openstreetmap.josm.data.Bounds;
5
6public class DataSource {
7    public final Bounds bounds;
8    public final String origin;
9
10    public DataSource(Bounds bounds, String origin) {
11        this.bounds = bounds;
12        this.origin = origin;
13        if (bounds == null)
14            throw new NullPointerException();
15    }
16}
Note: See TracBrowser for help on using the repository browser.