Detab poms and source

This commit is contained in:
Roy Clarkson 2013-08-08 18:08:44 -04:00
parent 5992da45b3
commit fc8fc09804
8 changed files with 307 additions and 310 deletions

View File

@ -84,12 +84,8 @@ In a project directory of your choosing, create the following subdirectory struc
<url>http://repo.springsource.org/libs-snapshot</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<url>http://repo.springsource.org/libs-milestone</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
@ -97,6 +93,7 @@ In a project directory of your choosing, create the following subdirectory struc
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</project>
```
@ -179,6 +176,7 @@ public class Person {
public String toString() {
return "firstName: " + firstName + ", lastName: " + lastName;
}
}
```
@ -196,6 +194,7 @@ package hello;
import org.springframework.batch.item.ItemProcessor;
public class PersonItemProcessor implements ItemProcessor<Person, Person> {
@Override
public Person process(final Person person) throws Exception {
final String firstName = person.getFirstName().toUpperCase();
@ -207,6 +206,7 @@ public class PersonItemProcessor implements ItemProcessor<Person, Person> {
return transformedPerson;
}
}
```

View File

@ -43,12 +43,8 @@
<url>http://repo.springsource.org/libs-snapshot</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<url>http://repo.springsource.org/libs-milestone</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
@ -56,4 +52,5 @@
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</project>

View File

@ -33,4 +33,5 @@ public class Person {
public String toString() {
return "firstName: " + firstName + ", lastName: " + lastName;
}
}

View File

@ -3,6 +3,7 @@ package hello;
import org.springframework.batch.item.ItemProcessor;
public class PersonItemProcessor implements ItemProcessor<Person, Person> {
@Override
public Person process(final Person person) throws Exception {
final String firstName = person.getFirstName().toUpperCase();
@ -14,4 +15,5 @@ public class PersonItemProcessor implements ItemProcessor<Person, Person> {
return transformedPerson;
}
}

View File

@ -30,12 +30,8 @@
<url>http://repo.springsource.org/libs-snapshot</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<url>http://repo.springsource.org/libs-milestone</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
@ -43,4 +39,5 @@
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</project>