* @return The current session, or {@code null} if there is no current
* session
*/
- public Session getCurrentSession(ToadletContext toadletContenxt) {
+ private Session getCurrentSession(ToadletContext toadletContenxt) {
return getCurrentSession(toadletContenxt, true);
}
* @return The current session, or {@code null} if there is no current
* session
*/
- public Session getCurrentSession(ToadletContext toadletContenxt, boolean create) {
+ private Session getCurrentSession(ToadletContext toadletContenxt, boolean create) {
Session session = getSessionManager().useSession(toadletContenxt);
if (create && (session == null)) {
session = getSessionManager().createSession(UUID.randomUUID().toString(), toadletContenxt);