Permalink
Browse files

- variable renaming

  • Loading branch information...
1 parent f3faca2 commit ffa6604360a2047067c764565a3ed02a23cb487d @alexbiehl alexbiehl committed Mar 23, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/org/fhw/asta/kasse/server/service/CheckoutServiceEndpoint.java
@@ -23,10 +23,10 @@
public Integer doCheckout(List<BasketItem> items, int discount,
String matrNr) throws CheckoutException {
- final Optional<String> email = new UserLdapNameProvider(
+ final Optional<String> issuerLdapName = new UserLdapNameProvider(
this.getThreadLocalRequest()).get();
- if (email.isPresent()) {
+ if (issuerLdapName.isPresent()) {
} else {
LOGGER.info("A non registered user tried to checkout");

0 comments on commit ffa6604

Please sign in to comment.