From 25a6d010ac1bb811b28db90b38eac8018bf213fa Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Mon, 10 Feb 2014 12:37:57 -0600 Subject: [PATCH] Add some JavaDoc to the transfer method. --- src/main/java/com/graywolf336/jail/PrisonerManager.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/com/graywolf336/jail/PrisonerManager.java b/src/main/java/com/graywolf336/jail/PrisonerManager.java index bed057b..a652e66 100644 --- a/src/main/java/com/graywolf336/jail/PrisonerManager.java +++ b/src/main/java/com/graywolf336/jail/PrisonerManager.java @@ -411,6 +411,15 @@ public class PrisonerManager { } } + /** + * Transfers the prisoner from one jail, or cell, to another jail, and/or cell. + * + * @param origin The jail where they are coming from. + * @param originCell The cell where they are coming from. + * @param targetJail The jail we're transferring them from. + * @param targetCell The cell we're putting them into. + * @param prisoner The prisoner data we're handling. + */ public void transferPrisoner(Jail origin, Cell originCell, Jail targetJail, Cell targetCell, Prisoner prisoner) { Player player = pl.getServer().getPlayer(prisoner.getName());