Skip to content

Commit 9078cc4

Browse files
committed
Merge pull request #822 from mozilla/cleanup-817
Post-817 cleanup: added missing license. removed unused function.
2 parents 1636911 + 8c8d06e commit 9078cc4

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

src/org/mozilla/mozstumbler/client/mapview/GPSListener.java

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
15
package org.mozilla.mozstumbler.client.mapview;
26

37
import android.content.Context;

src/org/mozilla/mozstumbler/client/mapview/ObservationPoint.java

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
15
package org.mozilla.mozstumbler.client.mapview;
26

37
import android.location.Location;

src/org/mozilla/mozstumbler/client/mapview/ObservationPointsOverlay.java

-10
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
import java.util.LinkedList;
1818

1919
class ObservationPointsOverlay extends Overlay {
20-
// private Paint mCircleFillPaint = new Paint();
21-
//private Paint mCircleStrokePaint = new Paint();
2220
private final Paint mRedPaint = new Paint();
2321
private final Paint mGreenPaint = new Paint();
2422
private final Paint mBlackStrokePaint = new Paint();
@@ -67,14 +65,6 @@ private void drawDot(Canvas c, Point p, float radiusInnerRing, Paint fillPaint,
6765
c.drawCircle(p.x, p.y, radiusInnerRing, strokePaint);
6866
}
6967

70-
private void drawX(Canvas c, Point mls, Point gps) {
71-
int s = mConvertPx.pxToDp(6);
72-
c.drawLine(mls.x - s , mls.y - s , mls.x + s, mls.y + s, mBlackLinePaint);
73-
c.drawLine(mls.x + s, mls.y - s, mls.x - s, mls.y + s, mBlackLinePaint);
74-
mBlackLinePaint.setStrokeWidth(mConvertPx.pxToDp(1));
75-
c.drawLine(gps.x, gps.y, mls.x, mls.y, mBlackLinePaint);
76-
}
77-
7868
protected void draw(Canvas c, MapView osmv, boolean shadow) {
7969
mIsDirty = false;
8070

src/org/mozilla/mozstumbler/client/mapview/ObservedLocationsReceiver.java

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
15
package org.mozilla.mozstumbler.client.mapview;
26

37
import android.content.BroadcastReceiver;

0 commit comments

Comments
 (0)