Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSCore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPSCore
Commits
1012b16d
Commit
1012b16d
authored
1 year ago
by
Tor-Einar Skog
Browse files
Options
Downloads
Patches
Plain Diff
Suppress ClassGraph DEBUG output, add option to print it
parent
86917f17
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!7
Gnuaffero
Pipeline
#2453
failed
1 year ago
Stage: build
Stage: test
Stage: deploy
Stage: upload
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/no/nibio/vips/model/factory/ModelFactory.java
+2
-2
2 additions, 2 deletions
src/main/java/no/nibio/vips/model/factory/ModelFactory.java
with
2 additions
and
2 deletions
src/main/java/no/nibio/vips/model/factory/ModelFactory.java
+
2
−
2
View file @
1012b16d
...
...
@@ -139,10 +139,10 @@ public class ModelFactory {
reflections = new Reflections(topDomain);
subTypes.addAll(reflections.getSubTypesOf(Model.class));
}*/
boolean
verboseClassGraph
=
System
.
getProperty
(
"no.nibio.vips.core.VERBOSE_CLASSGRAPH"
)
!=
null
&&
System
.
getProperty
(
"no.nibio.vips.core.VERBOSE_CLASSGRAPH"
).
equals
(
"true"
);
try
(
ScanResult
scanResult
=
// Assign scanResult in try-with-resources
new
ClassGraph
()
// Create a new ClassGraph instance
.
verbose
()
// If you want to enable logging to stderr
.
verbose
(
verboseClassGraph
)
// If you want to enable logging to stderr
.
enableClassInfo
()
// Scan classes, methods, fields, annotations
//.acceptPackages("com.xyz") // Scan com.xyz and subpackages
.
scan
())
{
// Perform the scan and return a ScanResult
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment