Revision: 4058
Author: [email protected]
Date: Mon Apr 29 14:18:05 2013
Log: cleaning up the code style to follow the normal formatting
conventions.
http://code.google.com/p/power-architect/source/detail?r=4058
Modified:
/trunk/src/main/java/ca/sqlpower/architect/swingui/BasicRelationshipUI.java
=======================================
---
/trunk/src/main/java/ca/sqlpower/architect/swingui/BasicRelationshipUI.java
Tue Apr 16 07:47:30 2013
+++
/trunk/src/main/java/ca/sqlpower/architect/swingui/BasicRelationshipUI.java
Mon Apr 29 14:18:05 2013
@@ -1141,19 +1141,17 @@
// actual work to adjust the connection point
if (isPkConnectionPoint) {
- if((relationship.getOrientation() &
Relationship.PARENT_FACES_LEFT) > 0 ||
- (relationship.getOrientation() &
Relationship.PARENT_FACES_RIGHT )> 0 ){
+ if ((relationship.getOrientation() &
Relationship.PARENT_FACES_LEFT) > 0 ||
+ (relationship.getOrientation() &
Relationship.PARENT_FACES_RIGHT) > 0 ) {
relationship.setPkConnection(((double)lastValidPoint.getY() /
relationship.getPkTable().getHeight()));
- }
- else{
-
relationship.setPkConnection(((double)lastValidPoint.getX() /
relationship.getPkTable().getWidth()));
+ } else {
+
relationship.setPkConnection(((double)lastValidPoint.getX() /
relationship.getPkTable().getWidth() ));
}
- }else{
- if((relationship.getOrientation() &
Relationship.PARENT_FACES_LEFT) > 0 ||
+ }else {
+ if ((relationship.getOrientation() &
Relationship.PARENT_FACES_LEFT) > 0 ||
(relationship.getOrientation() &
Relationship.PARENT_FACES_RIGHT ) > 0 ){
relationship.setFkConnection(((double)lastValidPoint.getY() /
relationship.getFkTable().getHeight()));
- }
- else {
+ } else {
relationship.setFkConnection(((double)lastValidPoint.getX() /
relationship.getFkTable().getWidth()));
}
}
--
---
You received this message because you are subscribed to the Google Groups "Architect Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.