Skip to content

Commit a5974bf

Browse files
committed
Fix code examples in README
1 parent a27e6d6 commit a5974bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ import io.fusionauth.http.server.HTTPHandler;
142142
import io.fusionauth.http.server.HTTPServer;
143143

144144
public class Example {
145-
private String certificate;
145+
private static String certificate;
146146

147-
private String privateKey;
147+
private static String privateKey;
148148

149-
public static void main(String[] args) {
149+
public static void main(String[] args) throws Exception {
150150
String homeDir = System.getProperty("user.home");
151151
certificate = Files.readString(Paths.get(homeDir + "/dev/certificates/example.org.pem"));
152152
privateKey = Files.readString(Paths.get(homeDir + "/dev/certificates/example.org.key"));

0 commit comments

Comments
 (0)