Index: trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java	(revision 14154)
+++ trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java	(revision 14155)
@@ -163,5 +163,5 @@
      */
     public AbstractProperty(String key, T defaultValue) {
-        // Main.pref should not change in production but may change during tests.
+        // Config.getPref() should not change in production but may change during tests.
         preferences = Config.getPref();
         this.key = key;
@@ -188,5 +188,5 @@
     /**
      * Determines if this property is currently set in JOSM preferences.
-     * @return true if {@code Main.pref} contains this property.
+     * @return true if {@code getPreferences()} contains this property.
      */
     public boolean isSet() {
Index: trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 14154)
+++ trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 14155)
@@ -100,5 +100,5 @@
             /*
              *  Chicken-and-egg problem. We want to create tile source, but supported projections we can get only
-             *  from this tile source. So create tilesource first with dummy Main.getProjection(), and then update
+             *  from this tile source. So create tilesource first with dummy ProjectionRegistry.getProjection(), and then update
              *  once we update server projections.
              *
