From e78b1261481622200387cf666270bb9b70a26c2d Mon Sep 17 00:00:00 2001 From: hns Date: Tue, 9 Aug 2005 23:50:21 +0000 Subject: [PATCH] Convert rootPrototype and userPrototype fields to local variables. --- src/helma/framework/core/Application.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index f76d80a5..e4c294ad 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -131,10 +131,6 @@ public final class Application implements IPathElement, Runnable { // the id of the object to use as root object String rootId = "0"; - // the name of the root prototype - private String rootPrototype; - // the name of the user prototype - private String userPrototype; // Db mappings for some standard prototypes private DbMapping rootMapping; @@ -369,8 +365,8 @@ public final class Application implements IPathElement, Runnable { // read in root id, root prototype, user prototype rootId = props.getProperty("rootid", "0"); - rootPrototype = props.getProperty("rootprototype", "root"); - userPrototype = props.getProperty("userprototype", "user"); + String rootPrototype = props.getProperty("rootprototype", "root"); + String userPrototype = props.getProperty("userprototype", "user"); rootMapping = getDbMapping(rootPrototype); if (rootMapping == null)