Skip to content

Commit e574eae

Browse files
Bugfix/remove incorrect copyright (sakaiproject#3445)
* Remove unused code and cleanup other compiler warnings * Remove incorrect copyright
1 parent 2493ab2 commit e574eae

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

gradebookng/tool/src/java/org/sakaiproject/gradebookng/business/util/CourseGradeFormatter.java

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/*
2-
* Copyright (c) Orchestral Developments Ltd and the Orion Health group of companies (2001 - 2016).
3-
*
4-
* This document is copyright. Except for the purpose of fair reviewing, no part
5-
* of this publication may be reproduced or transmitted in any form or by any
6-
* means, electronic or mechanical, including photocopying, recording, or any
7-
* information storage and retrieval system, without permission in writing from
8-
* the publisher. Infringers of copyright render themselves liable for
9-
* prosecution.
10-
*/
1+
112
package org.sakaiproject.gradebookng.business.util;
123

134
import java.util.ArrayList;
@@ -157,10 +148,10 @@ private String build(final CourseGrade courseGrade) {
157148
// don't display points for weighted category type
158149
final GbCategoryType categoryType = GbCategoryType.valueOf(this.gradebook.getCategory_type());
159150
if (categoryType != GbCategoryType.WEIGHTED_CATEGORY) {
160-
151+
161152
Double pointsEarned = courseGrade.getPointsEarned();
162153
Double totalPointsPossible = courseGrade.getTotalPointsPossible();
163-
154+
164155
// handle the special case in the gradebook service where totalPointsPossible = -1
165156
if(totalPointsPossible != null && totalPointsPossible == -1) {
166157
pointsEarned = null;

gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbFeedbackPanel.java

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/*
2-
* Copyright (c) Orchestral Developments Ltd and the Orion Health group of companies (2001 - 2016).
3-
*
4-
* This document is copyright. Except for the purpose of fair reviewing, no part
5-
* of this publication may be reproduced or transmitted in any form or by any
6-
* means, electronic or mechanical, including photocopying, recording, or any
7-
* information storage and retrieval system, without permission in writing from
8-
* the publisher. Infringers of copyright render themselves liable for
9-
* prosecution.
10-
*/
1+
112
package org.sakaiproject.gradebookng.tool.component;
123

134
import org.apache.wicket.AttributeModifier;

0 commit comments

Comments
 (0)