From ce839536e9c853484aed686bb9c2a3a0e23a7769 Mon Sep 17 00:00:00 2001 From: yusufbulentavci Date: Thu, 30 Jun 2022 14:35:59 +0300 Subject: [PATCH] Ignore cyclic dependency situations --- src/main/java/ozgurdbsync/Main.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/ozgurdbsync/Main.java b/src/main/java/ozgurdbsync/Main.java index c4f69dd..f014197 100644 --- a/src/main/java/ozgurdbsync/Main.java +++ b/src/main/java/ozgurdbsync/Main.java @@ -15,11 +15,11 @@ public class Main { public static void main(String[] args) throws IOException, SQLException { // -// if (args.length != 1) -// throw new RuntimeException("Usage: java -cp ./ozgurdbsynch.jar ozgurdbsync/Main path.ini.file"); -// -// Ini ini = new Ini(args[0]); - Ini ini = new Ini("/home/ybavci/workspace/ozgurdbsync/src/test/resources/altin_test.ini"); + if (args.length != 1) + throw new RuntimeException("Usage: java -cp ./ozgurdbsynch.jar ozgurdbsync/Main path.ini.file"); + + Ini ini = new Ini(args[0]); +// Ini ini = new Ini("/home/ybavci/workspace/ozgurdbsync/src/test/resources/altin_test.ini"); Map tableProps = new HashMap();