Skip to content

Commit 285dd70

Browse files
committed
Update copyright.
1 parent 8ca41ed commit 285dd70

31 files changed

+146
-112
lines changed

.idea/copyright/GPL_v3.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/dictionaries/todd.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,18 @@ Hola is a work-in-progress. The following features are currently supported:
1616
To search for services, create a `Query` specifying the type of service you're looking for and the domain to search. You can execute a blocking search with the `runOnce()` method; this will return a list of `Instance` objects representing the discovered instances. As an example, the following code will search for TiVo devices on the user's local network:
1717

1818
public class TivoFinder {
19+
final static Logger logger = LoggerFactory.getLogger(TivoFinder.class);
20+
1921
public static void main(String[] args) {
2022
try {
2123
Service service = Service.fromName("_tivo-mindrpc._tcp");
2224
Query query = Query.createFor(service, Domain.LOCAL);
2325
List<Instance> instances = query.runOnce();
2426
instances.stream().forEach(System.out::println);
2527
} catch (UnknownHostException e) {
26-
System.err.println("Unknown host: " + e);
28+
logger.error("Unknown host: ", e);
2729
} catch (IOException e) {
28-
System.err.println("IO error: " + e);
30+
logger.error("IO error: ", e);
2931
}
3032
}
3133
}
@@ -43,4 +45,8 @@ An asynchronous `run()` method is planned for performing a continuous service di
4345

4446
# Requirements
4547

46-
Hola requires Java 8 or higher. It handles logging via SLF4J, so the slf4j-api.jar must also be in your Hola-enabled project's class path.
48+
Hola requires Java 8 or higher. It handles logging via SLF4J, so the slf4j-api.jar must also be in your Hola-enabled project's class path.
49+
50+
# License
51+
52+
Hola is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

src/net/straylightlabs/hola/Hola.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Copyright 2015 Todd Kulesza <[email protected]>.
3+
*
4+
* This file is part of Hola.
5+
*
6+
* Hola is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* Hola is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with Hola. If not, see <http://www.gnu.org/licenses/>.
18+
*/
19+
120
package net.straylightlabs.hola;
221

322
@SuppressWarnings("unused")

src/net/straylightlabs/hola/HolaDriver.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/*
22
* Copyright 2015 Todd Kulesza <[email protected]>.
33
*
4-
* This file is part of Archivo.
4+
* This file is part of Hola.
55
*
6-
* Archivo is free software: you can redistribute it and/or modify
6+
* Hola is free software: you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
88
* the Free Software Foundation, either version 3 of the License, or
99
* (at your option) any later version.
1010
*
11-
* Archivo is distributed in the hope that it will be useful,
11+
* Hola is distributed in the hope that it will be useful,
1212
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
* GNU General Public License for more details.
1515
*
1616
* You should have received a copy of the GNU General Public License
17-
* along with Archivo. If not, see <http://www.gnu.org/licenses/>.
17+
* along with Hola. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

2020
package net.straylightlabs.hola;

src/net/straylightlabs/hola/dns/ARecord.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/*
22
* Copyright 2015 Todd Kulesza <[email protected]>.
33
*
4-
* This file is part of Archivo.
4+
* This file is part of Hola.
55
*
6-
* Archivo is free software: you can redistribute it and/or modify
6+
* Hola is free software: you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
88
* the Free Software Foundation, either version 3 of the License, or
99
* (at your option) any later version.
1010
*
11-
* Archivo is distributed in the hope that it will be useful,
11+
* Hola is distributed in the hope that it will be useful,
1212
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
* GNU General Public License for more details.
1515
*
1616
* You should have received a copy of the GNU General Public License
17-
* along with Archivo. If not, see <http://www.gnu.org/licenses/>.
17+
* along with Hola. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

2020
package net.straylightlabs.hola.dns;

src/net/straylightlabs/hola/dns/AaaaRecord.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/*
22
* Copyright 2015 Todd Kulesza <[email protected]>.
33
*
4-
* This file is part of Archivo.
4+
* This file is part of Hola.
55
*
6-
* Archivo is free software: you can redistribute it and/or modify
6+
* Hola is free software: you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
88
* the Free Software Foundation, either version 3 of the License, or
99
* (at your option) any later version.
1010
*
11-
* Archivo is distributed in the hope that it will be useful,
11+
* Hola is distributed in the hope that it will be useful,
1212
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
* GNU General Public License for more details.
1515
*
1616
* You should have received a copy of the GNU General Public License
17-
* along with Archivo. If not, see <http://www.gnu.org/licenses/>.
17+
* along with Hola. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

2020
package net.straylightlabs.hola.dns;

src/net/straylightlabs/hola/dns/Domain.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/*
22
* Copyright 2015 Todd Kulesza <[email protected]>.
33
*
4-
* This file is part of Archivo.
4+
* This file is part of Hola.
55
*
6-
* Archivo is free software: you can redistribute it and/or modify
6+
* Hola is free software: you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
88
* the Free Software Foundation, either version 3 of the License, or
99
* (at your option) any later version.
1010
*
11-
* Archivo is distributed in the hope that it will be useful,
11+
* Hola is distributed in the hope that it will be useful,
1212
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
* GNU General Public License for more details.
1515
*
1616
* You should have received a copy of the GNU General Public License
17-
* along with Archivo. If not, see <http://www.gnu.org/licenses/>.
17+
* along with Hola. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

2020
package net.straylightlabs.hola.dns;

src/net/straylightlabs/hola/dns/Message.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/*
22
* Copyright 2015 Todd Kulesza <[email protected]>.
33
*
4-
* This file is part of Archivo.
4+
* This file is part of Hola.
55
*
6-
* Archivo is free software: you can redistribute it and/or modify
6+
* Hola is free software: you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
88
* the Free Software Foundation, either version 3 of the License, or
99
* (at your option) any later version.
1010
*
11-
* Archivo is distributed in the hope that it will be useful,
11+
* Hola is distributed in the hope that it will be useful,
1212
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
* GNU General Public License for more details.
1515
*
1616
* You should have received a copy of the GNU General Public License
17-
* along with Archivo. If not, see <http://www.gnu.org/licenses/>.
17+
* along with Hola. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

2020
package net.straylightlabs.hola.dns;

0 commit comments

Comments
 (0)