Skip to content

Commit

Permalink
Fixing indentation errors, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Oct 23, 2013
1 parent f00d961 commit bb068a2
Showing 1 changed file with 4 additions and 9 deletions.
Expand Up @@ -181,11 +181,8 @@ public static Session getSessionMock() throws RepositoryException {
return Arrays.asList(names);
}

public static
Session
mockSession(final AbstractResource testObj)
throws RepositoryException,
NoSuchFieldException {
public static Session mockSession(final AbstractResource testObj)
throws RepositoryException, NoSuchFieldException {

final SecurityContext mockSecurityContext = mock(SecurityContext.class);
final Principal mockPrincipal = mock(Principal.class);
Expand Down Expand Up @@ -269,10 +266,8 @@ public static void setField(final Object parent, final String name,
}
}

private static
Field
findField(final Class<?> clazz, final String name)
throws NoSuchFieldException {
private static Field findField(final Class<?> clazz, final String name)
throws NoSuchFieldException {
for (final Field f : clazz.getDeclaredFields()) {
if (f.getName().equals(name)) {
return f;
Expand Down

0 comments on commit bb068a2

Please sign in to comment.