From f0d22e3053432c92312cd0d979e8f59e197b5db4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 16 Jan 2011 15:05:22 +0100 Subject: [PATCH] Actually return the retrieved trust! Fixes #54. --- src/main/java/net/pterodactylus/sone/template/SoneAccessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java b/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java index ef71a96..52424e6 100644 --- a/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java +++ b/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java @@ -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); } -- 2.7.4