Actually return the retrieved trust! Fixes #54.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 14:05:22 +0000 (15:05 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 14:05:22 +0000 (15:05 +0100)
src/main/java/net/pterodactylus/sone/template/SoneAccessor.java

index ef71a96..52424e6 100644 (file)
@@ -107,6 +107,7 @@ public class SoneAccessor extends ReflectionAccessor {
                        if (trust == null) {
                                return new Trust(null, null, null);
                        }
+                       return trust;
                }
                return super.get(dataProvider, object, member);
        }