From: David ‘Bombe’ Roden Date: Wed, 17 Nov 2010 14:28:49 +0000 (+0100) Subject: Add “locked” member. X-Git-Tag: 0.3-RC1~25 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=807cd6fe8a9203aa46498f9fced7c55761a44c71;p=Sone.git Add “locked” member. --- 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); }