* ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
- * under the Apache License, Version 2.0 (the "License");
+ * under the Apache License, Version 2.0. (the "License");
* you may not use this software except in compliance with the License.
* You may obtain a copy of the License at
*
public ServiceLocatorImpl() {
}
- /*
- * public static ServiceLocator getLocator() { if (locator == null) locator =
- * new ServiceLocator(); return locator; }
- *
- * public Object clone() throws CloneNotSupportedException { throw new
- * CloneNotSupportedException(); }
- */
-
// Get an LDAP directory context
public DirContext getDirContext(String initialContextFactory, String providerUrl, String securityPrincipal) {
}
public static Map getRoles(HttpServletRequest request) {
- // HttpSession session = request.getSession();
HttpSession session = AppUtils.getSession(request);
Map roles = (Map) session.getAttribute(SystemProperties.getProperty(SystemProperties.ROLES_ATTRIBUTE_NAME));
ysum += elementRowCol.get(String.valueOf(k) + String.valueOf(j)).computeSize().getHeight();
}
p.y = i * interEleH + ysum + this.getP().getY() + interEleToContainerH;
- // containerCoord.add(c,p);
xsum += c.computeSize().getWidth();
c.setP(p);
public class DomainVo extends FusionVo implements Serializable, Cloneable, Comparable {
// TODO: Remove after the EELFLoggerImpl
-// private static final EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(DomainVo.class);
private static final long serialVersionUID = 1L;
protected Long id;
} catch (Exception e) {
-// TODO: Remove after the EELFLoggerImpl logger.error(EELFLoggerDelegate.errorLogger, "copy failed", e);
+// TODO: Remove after the EELFLoggerImpl
e.printStackTrace();
}
double newX = 0.0;
if (i + 1 < domainstoUpd.size())
newX = domainstoUpd.get(i + 1).getP().getX();
- // d.setDomainToLayoutWd(domainstoUpd.get(i+1).getP().getX());
else
newX = domainstoUpd.get(i).getP().getX() + 38;
return CipherUtil.decryptPKC(encryptedText, keyString);
}
- /*public static void main(String[] args) throws CipherUtilException {
-
- String testValue = "Welcome123";
- String encrypted;
- String decrypted;
-
-
- }
-*/
}