Skip to content

Commit

Permalink
[ignore] Fix javadoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Nov 12, 2013
1 parent 5909081 commit 4dd00b5
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions src/org/exist/security/UnixStylePermission.java
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ private int getOwnerId() {
} }


/** /**
* Set the owner passed as User object * Set the owner passed as User object
* *
*@param account The new owner value * @param account The new owner value
*/ */
@Override @Override
public void setOwner(Account account) { public void setOwner(Account account) {
Expand Down Expand Up @@ -121,9 +121,9 @@ public void setOwner(final int id) {
} }


/** /**
* Set the owner * Set the owner
* *
*@param name The new owner value * @param name The new owner value
*/ */
@Override @Override
public void setOwner(final String name) { public void setOwner(final String name) {
Expand All @@ -144,9 +144,9 @@ private void setOwnerId(final int ownerId) {
} }


/** /**
* Gets the group * Gets the group
* *
*@return The group value * @return The group value
*/ */
@Override @Override
public Group getGroup() { public Group getGroup() {
Expand All @@ -158,9 +158,9 @@ private int getGroupId() {
} }


/** /**
* Set the owner group * Set the owner group
* *
*@param groupName The new group value * @param groupName The new group value
*/ */
@Override @Override
public void setGroup(final String groupName) { public void setGroup(final String groupName) {
Expand Down Expand Up @@ -211,9 +211,9 @@ public int getMode() {
} }


/** /**
* Set the mode * Set the mode
* *
*@param mode The new mode value * @param mode The new mode value
*/ */
@PermissionRequired(user = IS_DBA | IS_OWNER) @PermissionRequired(user = IS_DBA | IS_OWNER)
@Override @Override
Expand Down Expand Up @@ -263,19 +263,19 @@ public void setSticky(final boolean sticky) {
} }


/** /**
* Get the active mode for the owner * Get the active mode for the owner
* *
*@return The mode value * @return The mode value
*/ */
@Override @Override
public int getOwnerMode() { public int getOwnerMode() {
return (int) ((vector >>> 28) & 7); return (int) ((vector >>> 28) & 7);
} }


/** /**
* Set mode for the owner * Set mode for the owner
* *
*@param mode The new owner mode value * @param mode The new owner mode value
*/ */
@PermissionRequired(user = IS_DBA | IS_OWNER) @PermissionRequired(user = IS_DBA | IS_OWNER)
@Override @Override
Expand All @@ -289,19 +289,19 @@ public void setOwnerMode(int mode) {
} }


/** /**
* Get the mode for group * Get the mode for group
* *
*@return The mode value * @return The mode value
*/ */
@Override @Override
public int getGroupMode() { public int getGroupMode() {
return (int)((vector >>> 4) & 7); return (int)((vector >>> 4) & 7);
} }


/** /**
* Sets mode for group * Sets mode for group
* *
*@param mode The new mode value * @param mode The new mode value
*/ */
@PermissionRequired(user = IS_DBA | IS_OWNER) @PermissionRequired(user = IS_DBA | IS_OWNER)
@Override @Override
Expand All @@ -315,19 +315,19 @@ public void setGroupMode(int mode) {
} }


/** /**
* Get the mode for others * Get the mode for others
* *
*@return The mode value * @return The mode value
*/ */
@Override @Override
public int getOtherMode() { public int getOtherMode() {
return (int)(vector & 7); return (int)(vector & 7);
} }


/** /**
* Set mode for others * Set mode for others
* *
*@param mode The new other mode value * @param mode The new other mode value
*/ */
@PermissionRequired(user = IS_DBA | IS_OWNER) @PermissionRequired(user = IS_DBA | IS_OWNER)
@Override @Override
Expand All @@ -340,9 +340,9 @@ public void setOtherMode(int mode) {
} }


/** /**
* Format mode * Format mode
* *
*@return the mode formatted as a string e.g. 'rwxrwxrwx' * @return the mode formatted as a string e.g. 'rwxrwxrwx'
*/ */
@Override @Override
public String toString() { public String toString() {
Expand All @@ -363,11 +363,11 @@ public String toString() {
} }


/** /**
* Check if user has the requested mode for this resource. * Check if user has the requested mode for this resource.
* *
*@param user The user * @param user The user
*@param mode The requested mode * @param mode The requested mode
*@return true if user has the requested mode * @return true if user has the requested mode
*/ */
@Override @Override
public boolean validate(final Subject user, final int mode) { public boolean validate(final Subject user, final int mode) {
Expand Down

0 comments on commit 4dd00b5

Please sign in to comment.