You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/10/25 13:31:20 UTC
svn commit: r1027068 -
/myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java
Author: lofwyr
Date: Mon Oct 25 11:31:19 2010
New Revision: 1027068
URL: http://svn.apache.org/viewvc?rev=1027068&view=rev
Log:
remove strange behavior of the sun distance
Modified:
myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java
Modified: myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java?rev=1027068&r1=1027067&r2=1027068&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java Mon Oct 25 11:31:19 2010
@@ -84,8 +84,6 @@ public class TobagoDemoController {
private boolean showJunctions;
- private int value;
-
private boolean showIcons;
private boolean showRoot;
@@ -340,10 +338,6 @@ public class TobagoDemoController {
}
public List<SolarObject> getSolarList() {
- solarList.get(0).setDistance(value++);
- if (value > 100) {
- value = 0;
- }
return filteredList == null ? solarList : filteredList;
}