In GitHubEvents::gitHubRedirect, random object created and used only once. This code creates a java.util.Random object, uses it to generate one random number, and then discards the Random object. This produces mediocre quality random numbers and is inefficient. If possible, rewrite the code so that the Random object is created once and saved, and each time a new random number is required invoke a method on the existing Random object to obtain it. Also fixes 2 Javadoc errors In SampleHtmlThread, uses SecureRandom rather than Random class In LinkedInEvents::linkedInRedirect, uses SecureRandom rather than Random class Also fixes 2 Javadoc errors
PriCat component
PriCat is the abbreviation of Price and Catalog/Category. The PriCat component is to support importing/parsing excel files with price and catalog/category data. The excel files can be checked by version, header column names, currencyId. Each row can be validated by facility(name, Id and ownership), required fields, string or number and etc.
PriCat component contains two webapps: /pricat/ and /pricatdemo/. In production environment, you SHOULD remove or disable the /pricatdemo/.
more information
PriCat Demos
/pricatdemo/control/SamplePricat/: you can use this demo to implement your own excel templates.
/pricatdemo/control/countdownreport and /pricatdemo/control/countupreport: these 2 demos are on html report, you can try this way to display the processing report of rebuilding of lucene index or marchine learning data.