Author: ks156
Date: 2009-10-14 11:09:05 +0200 (Wed, 14 Oct 2009)
New Revision: 5650

Modified:
   
software_suite_v3/software/plugin/plugin-clock/branches/random_sentences/sources/net/karmaLab/tuxDroid/plugins/ClockPlugin.java
Log:
* Renamed a function


Modified: 
software_suite_v3/software/plugin/plugin-clock/branches/random_sentences/sources/net/karmaLab/tuxDroid/plugins/ClockPlugin.java
===================================================================
--- 
software_suite_v3/software/plugin/plugin-clock/branches/random_sentences/sources/net/karmaLab/tuxDroid/plugins/ClockPlugin.java
     2009-10-14 08:16:50 UTC (rev 5649)
+++ 
software_suite_v3/software/plugin/plugin-clock/branches/random_sentences/sources/net/karmaLab/tuxDroid/plugins/ClockPlugin.java
     2009-10-14 09:09:05 UTC (rev 5650)
@@ -83,7 +83,7 @@
                 throwMessage("It's noon");
             }
             else {
-                throwMessage(this.pickupSentence(sharpSentences), h);
+                throwMessage(this.pickSentence(sharpSentences), h);
             }
         }
         else if (m == 15) {
@@ -91,7 +91,7 @@
                 throwMessage("It's quarter past {0}", h);
             }
             else {
-                throwMessage(this.pickupSentence(normalSentences), h, m);
+                throwMessage(this.pickSentence(normalSentences), h, m);
             }
         }
         else if (m == 30) {
@@ -99,7 +99,7 @@
                 throwMessage("It's half past {0}", h);
             }
             else {
-                throwMessage(this.pickupSentence(normalSentences), h, m);
+                throwMessage(this.pickSentence(normalSentences), h, m);
             }
         }
         else if (m == 45) {
@@ -107,15 +107,15 @@
                 throwMessage("It's quarter to {0}", (h + 1));
             }
             else {
-                throwMessage(this.pickupSentence(normalSentences), h, m);
+                throwMessage(this.pickSentence(normalSentences), h, m);
             }
         }
         else {
-            throwMessage(this.pickupSentence(normalSentences), h, m);
+            throwMessage(this.pickSentence(normalSentences), h, m);
         }
     }
 
-    private String pickupSentence(String[] list) {
+    private String pickSentence(String[] list) {
         Random rand = new Random();
         return list[rand.nextInt(list.length)];
     }


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to