Skip to content

Commit b35a665

Browse files
committed
Merge pull request #151 from moagrius/issue-141
removed isEmpty fast-fail per #141
2 parents 4d6665e + 9935a3f commit b35a665

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,6 @@ pip-log.txt
182182
/AndroidManifest.xml
183183
/proguard-project.txt
184184
/project.properties
185+
186+
# Project Specific
187+
/build.xml

src/com/qozix/tileview/hotspots/HotSpotManager.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
package com.qozix.tileview.hotspots;
22

3-
import java.util.ArrayList;
4-
import java.util.LinkedList;
3+
import android.graphics.Point;
54

65
import com.qozix.tileview.detail.DetailLevelEventListener;
76
import com.qozix.tileview.detail.DetailManager;
87

9-
import android.graphics.Point;
8+
import java.util.ArrayList;
109

1110
public class HotSpotManager implements DetailLevelEventListener {
1211

@@ -54,10 +53,6 @@ private HotSpot getMatch( Point point ){
5453
}
5554

5655
public void processHit( Point point ){
57-
// fast-fail if no listeners
58-
if(listeners.isEmpty()){
59-
return;
60-
}
6156
// is there a match?
6257
HotSpot hotSpot = getMatch( point );
6358
if( hotSpot != null){

0 commit comments

Comments
 (0)