Skip to content

Commit 323a510

Browse files
committed
Style fixes.
1 parent 18d6ac5 commit 323a510

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

engine/src/main/java/org/terasology/engine/module/ModuleSecurityManager.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ private void checkAPIPermissionsFor(Permission permission, int moduleDepth, Clas
181181

182182
if (moduleDepth - 1 > 0) {
183183
throw new AccessControlException(
184-
String.format("Module class '%s' calling into '%s' requiring permission '%s'", stack[moduleDepth].getName(), stack[moduleDepth - 1].getName(), permission));
184+
String.format("Module class '%s' calling into '%s' requiring permission '%s'"
185+
, stack[moduleDepth].getName(), stack[moduleDepth - 1].getName(), permission));
185186
} else {
186187
throw new AccessControlException(String.format("Module class '%s' requiring permission '%s'", stack[moduleDepth].getName(), permission));
187188
}

engine/src/main/java/org/terasology/rendering/nui/internal/HeadlessCanvasRenderer.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2014 MovingBlocks
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package org.terasology.rendering.nui.internal;
217

318
import javax.vecmath.Quat4f;

0 commit comments

Comments
 (0)