This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tue Sep 28 22:36:35 UTC 2021 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LaunchViewController: INFViewController { | |
override func shouldAutorotate() -> Bool { | |
return false | |
} | |
override func preferredStatusBarStyle() -> UIStatusBarStyle { | |
return .LightContent | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
for (int i=1; i<10; i++) { | |
String desc = "description" + i; | |
pageContext.setAttribute("description", desc); | |
%> | |
${desc} | |
<% | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ManagedOperation | |
@Scheduled(cron = "0 0 0 * * SUN") | |
public void purgeOrphanedScores() { | |
synchronized (LeadScoringServiceDb.class) { | |
stopWatchStart("purgeOrphanedScores"); | |
try { | |
int orphanedScoreCount = scoreDAO.getOrphanedScoreCount(); | |
if (orphanedScoreCount > 0) { | |
scoreDAO.deleteOrphanedScores(); | |
Log.info(Log.Context.LeadScoring, "Deleted " + orphanedScoreCount + " orphaned scores"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void bindContact(HttpServletRequest request, Model model) throws LoadingException { | |
... | |
model.addAttribute("contact", contact); | |
} | |
public void create(String view, Integer addingFormId, Model model) { | |
} | |
//vs. |