Skip to content

Commit 3e6943c

Browse files
committed
updates
1 parent 91b77ac commit 3e6943c

File tree

20 files changed

+41
-68
lines changed

20 files changed

+41
-68
lines changed

TutorialMapsAccDone/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=Google Inc.:Google APIs:15
11+
target=Google Inc.:Google APIs:16

TutorialMapsAccDone/res/layout/main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
android:id="@+id/mapview"
1717
android:layout_width="fill_parent"
1818
android:layout_height="fill_parent"
19-
android:apiKey="0Ma8UERobBwT4kwSEWK6Wx3NVprv2xtSppv96gg"
19+
android:apiKey="0Ma8UERobBwRNCSM-Vy8ipZiqfWprxRuWHYjhlA"
2020
android:clickable="true" />
2121

2222
</LinearLayout>
File renamed without changes.

de.vogella.easymock.first/.project renamed to com.vogella.testing.easymock.first/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>de.vogella.easymock.first</name>
3+
<name>com.vogella.testing.easymock.first</name>
44
<comment></comment>
55
<projects>
66
</projects>

de.vogella.easymock.first/.settings/org.eclipse.jdt.core.prefs renamed to com.vogella.testing.easymock.first/.settings/org.eclipse.jdt.core.prefs

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.vogella.testing.easymock.first;
2+
3+
public interface ICalcMethod {
4+
double calc(Position position);
5+
}

de.vogella.easymock.first/src/de/vogella/easymock/first/IncomeCalculator.java renamed to com.vogella.testing.easymock.first/src/com/vogella/testing/easymock/first/IncomeCalculator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package de.vogella.easymock.first;
1+
package com.vogella.testing.easymock.first;
22

33
public class IncomeCalculator {
44

@@ -15,10 +15,10 @@ public void setPosition(Position position) {
1515

1616
public double calc() {
1717
if (calcMethod == null) {
18-
throw new CalcMethodException("CalcMethod not yet maintained");
18+
throw new RuntimeException("CalcMethod not yet maintained");
1919
}
2020
if (position == null) {
21-
throw new PositionException("Position not yet maintained");
21+
throw new RuntimeException("Position not yet maintained");
2222
}
2323
return calcMethod.calc(position);
2424
}

0 commit comments

Comments
 (0)