Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
apangin committed Mar 16, 2024
1 parent dc85d74 commit 56d2bd1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,10 @@ endif

.PHONY: all jar release test native clean

all: build/bin build/lib build/$(LIB_PROFILER) build/$(ASPROF) build/$(JFRCONV) jar
all: build/bin build/lib build/$(LIB_PROFILER) build/$(ASPROF) jar build/$(JFRCONV)

jar: build/jar build/$(API_JAR) build/$(CONVERTER_JAR)

release: JAVA_TARGET=7

release: $(PACKAGE_NAME).$(PACKAGE_EXT)

$(PACKAGE_NAME).tar.gz: $(PACKAGE_DIR)
Expand Down Expand Up @@ -145,7 +143,7 @@ build/$(CONVERTER_JAR): $(CONVERTER_SOURCES) $(RESOURCES)
$(RM) -r build/converter

%.class: %.java
$(JAVAC) -source $(JAVA_TARGET) -target $(JAVA_TARGET) -Xlint:-options -g:none $^
$(JAVAC) -source 7 -target 7 -Xlint:-options -g:none $^

test: all
test/smoke-test.sh
Expand Down
2 changes: 1 addition & 1 deletion src/converter/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static void main(String[] argv) throws Exception {
}
}

private static void convert(String input, String output, Arguments args) throws IOException {
public static void convert(String input, String output, Arguments args) throws IOException {
if (isJfr(input)) {
if ("html".equals(args.output)) {
JfrToFlame.convert(input, output, args);
Expand Down
2 changes: 1 addition & 1 deletion src/res/tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Tree view</title>
<meta charset="utf-8" />
<style>
html,
html,
body,
div,
span,
Expand Down

0 comments on commit 56d2bd1

Please sign in to comment.