Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java @ 38:fccf90761825
Format Code to max 80 Chars per Row better Formatter choosen
gnv/trunk@174 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 02 Oct 2009 09:10:36 +0000 |
parents | ad381cc47217 |
children | 23a4f196d7d6 |
comparison
equal
deleted
inserted
replaced
37:1ea46f542d07 | 38:fccf90761825 |
---|---|
43 super(); | 43 super(); |
44 } | 44 } |
45 | 45 |
46 @Override | 46 @Override |
47 public ActionForward execute(ActionMapping mapping, ActionForm form, | 47 public ActionForward execute(ActionMapping mapping, ActionForm form, |
48 HttpServletRequest request, HttpServletResponse response) | 48 HttpServletRequest request, |
49 throws Exception { | 49 HttpServletResponse response) throws Exception { |
50 log.debug("NextArtifactStepAction.execute"); | 50 log.debug("NextArtifactStepAction.execute"); |
51 try { | 51 try { |
52 SessionModel sm = SessionModelFactory.getInstance() | 52 SessionModel sm = SessionModelFactory.getInstance() |
53 .getSessionModel(request); | 53 .getSessionModel(request); |
54 | 54 |
96 request.setAttribute("furthertargets", | 96 request.setAttribute("furthertargets", |
97 (ad.getReachableStates() != null && !ad | 97 (ad.getReachableStates() != null && !ad |
98 .getReachableStates().isEmpty())); | 98 .getReachableStates().isEmpty())); |
99 | 99 |
100 if (ad.getReachableStates() != null | 100 if (ad.getReachableStates() != null |
101 && !ad.getReachableStates().isEmpty()) { | 101 && !ad.getReachableStates().isEmpty()) { |
102 } else { | 102 } else { |
103 request.setAttribute("diagramm", true); | 103 request.setAttribute("diagramm", true); |
104 } | 104 } |
105 return super.execute(mapping, form, request, response); | 105 return super.execute(mapping, form, request, response); |
106 } catch (Exception e) { | 106 } catch (Exception e) { |