MCPcopy Index your code
hub / github.com/annmuor/jnode / InstallUtil

Method InstallUtil

jnode-core/src/jnode/install/InstallUtil.java:65–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 private static final String MIGRATION_CUSTOMINITSCRIPT = "migration.custominitscript";
64
65 public InstallUtil() {
66 GenericDAO<Version> versionDao = ORMManager.get(Version.class);
67 List<Version> versions = versionDao
68 .getOrderLimitAnd(1, "int_at", false);
69 if (versions.size() == 0) {
70 doInstall();
71 } else {
72 Version ver = versions.get(0);
73 logger.l1("You have installed " + ver.toString());
74 checkForLastVersion(ver);
75 }
76 }
77
78 private void doInstall() {
79 logger.l1("[+] Creating database data");

Callers

nothing calls this directly

Calls 6

getMethod · 0.95
doInstallMethod · 0.95
toStringMethod · 0.95
checkForLastVersionMethod · 0.95
getOrderLimitAndMethod · 0.80
l1Method · 0.80

Tested by

no test coverage detected