From 807cd6fe8a9203aa46498f9fced7c55761a44c71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 17 Nov 2010 15:28:49 +0100 Subject: [PATCH] =?utf8?q?Add=20=E2=80=9Clocked=E2=80=9D=20member.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/template/SoneAccessor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java b/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java index eac6e2c..c9c5f48 100644 --- a/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java +++ b/src/main/java/net/pterodactylus/sone/template/SoneAccessor.java @@ -87,6 +87,8 @@ public class SoneAccessor extends ReflectionAccessor { return core.getSoneStatus(sone) == SoneStatus.downloading; } else if (member.equals("new")) { return core.isNewSone(sone); + } else if (member.equals("locked")) { + return core.isLocked(sone); } return super.get(dataProvider, object, member); } -- 2.7.4