Commits

Martin Lau  committed 3d59581

Reformatted

  • Participants
  • Parent commits f1709ba

Comments (0)

Files changed (1)

File src/main/java/ph/hum/sample/transaction/controller/TransactionController.java

     @RequestMapping("VIEW")
     public String renderView(final ModelMap modelMap) throws SystemException {
         final DynamicQuery query = dynamicQueryFactory.forClass(User.class, PortalClassLoaderUtil.getClassLoader())
-                                                .add(propertyFactory.forName("screenName").eq("test"))
-                                                .setProjection(projectionFactory.property("middleName"));
+                                                      .add(propertyFactory.forName("screenName").eq("test"))
+                                                      .setProjection(projectionFactory.property("middleName"));
 
         @SuppressWarnings("unchecked")
         final List<String> result = userLocalService.dynamicQuery(query);