Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
83c34c41
"README.md" did not exist on "1b69d5073156fc18605c4d44f44fe9e1e86a40db"
Commit
83c34c41
authored
9 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-1873: make the variable static and final instead of volatile
parent
47cd6409
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/core/commons/fullWebApp/LayoutMain3ColsConfig.java
+1
-21
1 addition, 21 deletions
...g/olat/core/commons/fullWebApp/LayoutMain3ColsConfig.java
with
1 addition
and
21 deletions
src/main/java/org/olat/core/commons/fullWebApp/LayoutMain3ColsConfig.java
+
1
−
21
View file @
83c34c41
...
...
@@ -31,7 +31,7 @@ package org.olat.core.commons.fullWebApp;
public
class
LayoutMain3ColsConfig
{
// default values for column width in EM
private
volatile
static
int
col1WidthEmDefault
=
14
,
col2WidthEmDefault
=
12
;
private
static
final
int
col1WidthEmDefault
=
14
,
col2WidthEmDefault
=
12
;
// specific configured width
private
int
col1WidthEM
;
private
int
col2WidthEM
;
...
...
@@ -82,24 +82,4 @@ public class LayoutMain3ColsConfig {
public
void
setCol2WidthEM
(
int
col2WidthEM
)
{
this
.
col2WidthEM
=
col2WidthEM
;
}
/**
* Spring setter method to change the default width of column one
*
* @param col1WidthEmDefaultConfiguration
*/
public
void
setCol1WidthEmDefault
(
int
col1WidthEmDefaultConfiguration
)
{
col1WidthEmDefault
=
col1WidthEmDefaultConfiguration
;
}
/**
* Spring setter method to change the default width of column two
*
* @param col2WidthEmDefaultConfiguration
*/
public
void
setCol2WidthEmDefault
(
int
col2WidthEmDefaultConfiguration
)
{
col2WidthEmDefault
=
col2WidthEmDefaultConfiguration
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment