Skip to content

Commit

Permalink
Add License and let Project Build
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLydonKing committed Dec 6, 2023
1 parent 1ba63bf commit e552ccb
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions examples/src/main/scala/za/co/absa/clientexample/Application.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2023 ABSA Group Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package za.co.absa.clientexample

import za.co.absa.clientexample.config.ConfigProvider
Expand All @@ -8,7 +24,8 @@ import java.util.Scanner
object Application {
def main(args: Array[String]): Unit = {

var configPath = ""
//TODO: Add Client Client Library and uncomment code
/*var configPath = ""
if (args.length < 1) {
throw new Exception("Usage: Application <config_path>")
} else {
Expand Down Expand Up @@ -80,6 +97,6 @@ object Application {
println(s"UNAUTHORIZED. PLEASE TRY AGAIN")
println("----------------------------------------------")
}
}
}*/
}
}

0 comments on commit e552ccb

Please sign in to comment.