Skip to content

Commit aaf20b1

Browse files
committed
Revert "Delete 11 year old deprecated unused class"
This reverts commit 6dcb030.
1 parent 6cefc7a commit aaf20b1

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/***** BEGIN LICENSE BLOCK *****
2+
* Copyright (c) 2012-2014 Karol Bucek <self@kares.org>
3+
* Copyright (c) 2006-2010 Nick Sieger <nick@nicksieger.com>
4+
* Copyright (c) 2006-2007 Ola Bini <ola.bini@gmail.com>
5+
* Copyright (c) 2008-2009 Thomas E Enebo <enebo@acm.org>
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining
8+
* a copy of this software and associated documentation files (the
9+
* "Software"), to deal in the Software without restriction, including
10+
* without limitation the rights to use, copy, modify, merge, publish,
11+
* distribute, sublicense, and/or sell copies of the Software, and to
12+
* permit persons to whom the Software is furnished to do so, subject to
13+
* the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be
16+
* included in all copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25+
***** END LICENSE BLOCK *****/
26+
27+
package arjdbc.jdbc;
28+
29+
import java.io.IOException;
30+
31+
import org.jruby.Ruby;
32+
import org.jruby.runtime.load.BasicLibraryService;
33+
34+
@Deprecated
35+
public class AdapterJavaService implements BasicLibraryService {
36+
37+
public boolean basicLoad(final Ruby runtime) throws IOException {
38+
RubyJdbcConnection.createJdbcConnectionClass(runtime);
39+
arjdbc.ArJdbcModule.load(runtime);
40+
return true;
41+
}
42+
43+
}

0 commit comments

Comments
 (0)