Skip to content

Commit

Permalink
fixed typos, fixed indents
Browse files Browse the repository at this point in the history
  • Loading branch information
osbeorn committed May 10, 2017
1 parent b727e0e commit 4c0bd03
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 38 deletions.
11 changes: 6 additions & 5 deletions jax-ws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public class Customer implements Serializable {
@XmlElement(required = true)
private String lastName;

//get and set methods
// TODO: implement get and set methods
}
```

Expand All @@ -179,7 +179,7 @@ public class CustomersList implements Serializable {
@XmlElement(required = true)
private List<Customer> customer;

//get and set methods
// TODO: implement get and set methods
}
```

Expand All @@ -199,7 +199,8 @@ public class GetCustomersResponse implements Serializable {
@XmlElement(required = true)
private GetCustomersResponseMessage output;

//get and set methods
// TODO: implement get and set methods
}
```

```java
Expand All @@ -215,7 +216,7 @@ public class GetCustomersResponseMessage implements Serializable {
@XmlElement(required = true)
private CustomersList customers;

//get and set methods
// TODO: implement get and set methods
}
```

Expand All @@ -239,7 +240,7 @@ public class CustomerEndpoint {
public GetCustomersResponseMessage getCustomers() {

List<Customer> customers = new ArrayList<>();
// TODO: Add sample customers to list
// TODO: add sample customers to list

CustomersList customersList = new CustomersList();
customersList.setCustomer(customers);
Expand Down
2 changes: 1 addition & 1 deletion jpa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public class Customer implements Serializable {
@Column(name = "last_name")
private String lastName;

// TODO: get and set methods
// TODO: implement get and set methods
}
```

Expand Down
54 changes: 27 additions & 27 deletions kumuluzee-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,26 +127,26 @@ Add the `maven-dependency-plugin` build plugin to copy all the necessary depende

```xml
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeScope>runtime</includeScope>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeScope>runtime</includeScope>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
```

### Implement the service
Expand Down Expand Up @@ -181,8 +181,7 @@ public class ConfigProperties {
private Boolean booleanProperty;
private Integer integerProperty;
// get and set methods
// TODO: implement get and set methods
}
```

Expand All @@ -203,16 +202,17 @@ public class ConfigResource {
public Response test() {
String response =
"{" +
"\"stringProperty\": \"%s\"," +
"\"booleanProperty\": %b," +
"\"integerProperty\": %d" +
"}";
"\"stringProperty\": \"%s\"," +
"\"booleanProperty\": %b," +
"\"integerProperty\": %d" +
"}";
response = String.format(
response,
properties.getStringProperty(),
properties.getBooleanProperty(),
properties.getIntegerProperty());
properties.getIntegerProperty()
);
return Response.ok(response).build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,17 @@ public class ConfigResource {
public Response test() {
String response =
"{" +
"\"stringProperty\": \"%s\"," +
"\"booleanProperty\": %b," +
"\"integerProperty\": %d" +
"}";
"\"stringProperty\": \"%s\"," +
"\"booleanProperty\": %b," +
"\"integerProperty\": %d" +
"}";

response = String.format(
response,
properties.getStringProperty(),
properties.getBooleanProperty(),
properties.getIntegerProperty());
properties.getIntegerProperty()
);

return Response.ok(response).build();
}
Expand Down

0 comments on commit 4c0bd03

Please sign in to comment.