/*package*/ static boolean compareSVNAuthentications(SVNAuthentication a1, SVNAuthentication a2) { if (a1==null && a2==null) return true; if (a1==null || a2==null) return false; if (a1.getClass()!=a2.getClass()) return false; try { return describeBean(a1).equals(describeBean(a2)); } catch (IllegalAccessException e) { return false; } catch (InvocationTargetException e) { return false; } catch (NoSuchMethodException e) { return false; } }
static boolean compareSVNAuthentications(SVNAuthentication a1, SVNAuthentication a2) { if (a1 == null && a2 == null) { return true; } if (a1 == null || a2 == null) { return false; } if (a1.getClass() != a2.getClass()) { return false; } try { return describeBean(a1).equals(describeBean(a2)); } catch (IllegalAccessException e) { return false; } catch (InvocationTargetException e) { return false; } catch (NoSuchMethodException e) { return false; } }
static boolean compareSVNAuthentications(SVNAuthentication a1, SVNAuthentication a2) { if (a1 == null && a2 == null) { return true; } if (a1 == null || a2 == null) { return false; } if (a1.getClass() != a2.getClass()) { return false; } try { return describeBean(a1).equals(describeBean(a2)); } catch (IllegalAccessException e) { return false; } catch (InvocationTargetException e) { return false; } catch (NoSuchMethodException e) { return false; } }