Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(649)

Issue 4223043: GRBK-485-1

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by jpgorrono
Modified:
13 years, 2 months ago
Reviewers:
tamsler, Mike W
CC:
mwenk_ucdavis.edu, jimeng_umich.edu, gradebook2-dev_collab.sakaiproject.org
Visibility:
Public.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -19 lines) Patch
M api/src/java/org/sakaiproject/gradebook/gwt/sakai/Gradebook2ComponentService.java View 2 chunks +8 lines, -1 line 0 comments Download
M client/src/java/org/sakaiproject/gradebook/gwt/client/gxt/controller/InstructorController.java View 1 chunk +1 line, -0 lines 0 comments Download
M client/src/java/org/sakaiproject/gradebook/gwt/client/gxt/model/ApplicationModel.java View 1 chunk +16 lines, -0 lines 0 comments Download
M client/src/java/org/sakaiproject/gradebook/gwt/client/gxt/view/panel/MultiGradeContentPanel.java View 10 chunks +51 lines, -0 lines 1 comment Download
M model/src/java/org/sakaiproject/gradebook/gwt/client/model/ApplicationSetup.java View 1 chunk +12 lines, -0 lines 0 comments Download
M model/src/java/org/sakaiproject/gradebook/gwt/client/model/key/ApplicationKey.java View 1 chunk +1 line, -0 lines 0 comments Download
M server/src/java/org/sakaiproject/gradebook/gwt/sakai/Gradebook2ComponentServiceImpl.java View 11 chunks +39 lines, -13 lines 0 comments Download
M server/src/java/org/sakaiproject/gradebook/gwt/sakai/GradebookFinalGradeSubmissionController.java View 1 chunk +1 line, -1 line 0 comments Download
M server/src/java/org/sakaiproject/gradebook/gwt/sakai/rest/resource/Roster.java View 2 chunks +5 lines, -2 lines 0 comments Download
M server/src/java/org/sakaiproject/gradebook/gwt/sakai/rest/resource/SubmitFinalGrades.java View 1 chunk +1 line, -1 line 0 comments Download
M server/src/java/org/sakaiproject/gradebook/gwt/server/ImportExportUtilityImpl.java View 1 chunk +1 line, -1 line 0 comments Download
M server/src/java/org/sakaiproject/gradebook/gwt/server/model/ApplicationSetupImpl.java View 1 chunk +19 lines, -0 lines 0 comments Download
M shared/src/java/org/sakaiproject/gradebook/gwt/client/AppConstants.java View 2 chunks +9 lines, -0 lines 0 comments Download
M shared/src/java/org/sakaiproject/gradebook/gwt/client/I18nConstants.java View 1 chunk +4 lines, -0 lines 0 comments Download
M shared/src/java/org/sakaiproject/gradebook/gwt/client/I18nConstants.properties View 1 chunk +4 lines, -0 lines 0 comments Download
M shared/src/java/org/sakaiproject/gradebook/gwt/client/gxt/multigrade/MultiGradeLoadConfig.java View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5
jpgorrono
squeaky clean :) Thanks, Jim
13 years, 2 months ago (2011-02-24 04:20:40 UTC) #1
tamsler
Looks good
13 years, 2 months ago (2011-02-24 05:44:41 UTC) #2
tamsler
Looks good. I vote +1 to merge this into trunk.
13 years, 2 months ago (2011-02-25 20:31:53 UTC) #3
Mike W
Looks fine, one comment about consistency. +1 to merge. http://codereview.appspot.com/4223043/diff/1/client/src/java/org/sakaiproject/gradebook/gwt/client/gxt/view/panel/MultiGradeContentPanel.java File client/src/java/org/sakaiproject/gradebook/gwt/client/gxt/view/panel/MultiGradeContentPanel.java (right): http://codereview.appspot.com/4223043/diff/1/client/src/java/org/sakaiproject/gradebook/gwt/client/gxt/view/panel/MultiGradeContentPanel.java#newcode1572 client/src/java/org/sakaiproject/gradebook/gwt/client/gxt/view/panel/MultiGradeContentPanel.java:1572: ...
13 years, 2 months ago (2011-03-07 22:19:15 UTC) #4
jimeng_umich.edu
13 years, 2 months ago (2011-03-07 23:31:10 UTC) #5
Michael points out an incosistency in the way the config setting is checked.  
If it's false or not set, the code rechecks the setting whenever the method  
is called. If it' true, we never check again. Basically the method is  
expressing disbelief that anyone could be so stupid as to choose a setting  
other than true. :-)

Maybe the method should be less biased. ... is there any circumstance under  
which a config setting can change?  If not, the initial value could be null,  
in which case we could check the config setting. If it's true, we could set  
the value to true and never check again. If it's not true (false or not set)  
we could set it to false and never check again. Would that work?

Good catch, Mike.

Jim


Sent via DROID on Verizon Wireless

-----Original message-----
From: mikewenk@gmail.com
To: jpgorrono@gmail.com, tamsler@gmail.com
Cc: mwenk@ucdavis.edu, jimeng@umich.edu,  
gradebook2-dev@collab.sakaiproject.org, reply@codereview.appspotmail.com
Sent: Mon, Mar 7, 2011 22:19:47 GMT+00:00
Subject: Re: GRBK-485-1 (issue4223043)

Looks fine, one comment about consistency.

+1 to merge.


http://codereview.appspot.com/4223043/diff/1/client/src/java/org/sakaiproject 
/gradebook/gwt/client/gxt/view/panel/MultiGradeContentPanel.java
File
client/src/java/org/sakaiproject/gradebook/gwt/client/gxt/view/panel/MultiGra 
deContentPanel.java
(right):

http://codereview.appspot.com/4223043/diff/1/client/src/java/org/sakaiproject 
/gradebook/gwt/client/gxt/view/panel/MultiGradeContentPanel.java#newcode1572
client/src/java/org/sakaiproject/gradebook/gwt/client/gxt/view/panel/MultiGra 
deContentPanel.java:1572:
*/
Does this method have to do things this way?  It seems like it will
always do the below if its false, but if it ever gets to be true it will
stop checking the registry.  Either it should be consistent or the
constructor/init method should set it once.

http://codereview.appspot.com/4223043/



Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b