Skip to content
Snippets Groups Projects
Commit 6eb605a8 authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Modified some fields and comments.

parent 76a22777
No related branches found
No related tags found
No related merge requests found
......@@ -106,10 +106,10 @@ public class FSProjectDAOImpl implements IProjectDAO, ReleaseListener {
private final Map<File, WeakReference<Object>> tempDirs = new ConcurrentHashMap<File, WeakReference<Object>>();
private final Map<String, ComponentListContainer> availableComponents = new ConcurrentHashMap<String, ComponentListContainer>();
@Autowired
private PluginFinder pluginFinder;
@Autowired
private Class2ModelInstanceConverter class2ModelInstanceConverter;
@Autowired
private PluginFinder pluginFinder;
/**
* Default constructor. <b>Do not use this constructor. This bean is Spring managed.</b>
......@@ -248,6 +248,7 @@ public class FSProjectDAOImpl implements IProjectDAO, ReleaseListener {
final File dstKaxFile = new File(FSProjectDAOImpl.ROOT_DIRECTORY + File.separator + newProjectName + File.separator + originalProjectName + "."
+ FSProjectDAOImpl.KAX_EXTENSION);
final File realDstKaxFile = FSProjectDAOImpl.assembleKaxFile(newProjectName);
if (!dstKaxFile.renameTo(realDstKaxFile)) {
......@@ -310,12 +311,12 @@ public class FSProjectDAOImpl implements IProjectDAO, ReleaseListener {
// Store the new meta data
final Properties properties = FSProjectDAOImpl.loadPropertiesFile(projectName);
properties.put(FSProjectDAOImpl.PROPERTY_KEY_LAST_USER, username);
properties.put(PROPERTY_KEY_LAST_USER, username);
if (analysisLayout != null) {
properties.put(FSProjectDAOImpl.PROPERTY_KEY_ANALYSIS_LAYOUT, analysisLayout);
properties.put(PROPERTY_KEY_ANALYSIS_LAYOUT, analysisLayout);
}
if (cockpitLayout != null) {
properties.put(FSProjectDAOImpl.PROPERTY_KEY_COCKPIT_LAYOUT, cockpitLayout);
properties.put(PROPERTY_KEY_COCKPIT_LAYOUT, cockpitLayout);
}
FSProjectDAOImpl.savePropertiesFile(properties, projectName);
}
......
......@@ -28,7 +28,8 @@ import org.springframework.stereotype.Component;
* files.<br>
* </br>
*
* This class is a singleton scoped bean, as the list with the available themes is a static list.
* This class is a singleton scoped bean, as the list with the available themes is a static list.<br>
* </br>
*
* As this bean is {@code Spring} managed, it is <b>not</b> recommended to use the constructor or the setter methods.
*
......
......@@ -23,8 +23,7 @@ import org.springframework.stereotype.Component;
/**
* This simple {@code Spring} managed bean is request scoped and can be used to store the necessary data for a new user during a request. It should not be used, for
* example, to deliver a list containing the available user within the system, as this bean contains a field for the password. For such cases you should use
* {@link kieker.webgui.domain.User} instead.
* example, to deliver a list containing the available user within the system. For such cases you should use {@link kieker.webgui.domain.User} instead.
*
* @author Nils Christian Ehmke
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment