KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > utilint > TestHookExecute


1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: TestHookExecute.java,v 1.4 2006/10/30 21:14:29 bostic Exp $
7  */

8
9 package com.sleepycat.je.utilint;
10
11 /**
12  */

13 public class TestHookExecute {
14     public static boolean doHookIfSet(TestHook testHook) {
15         if (testHook != null) {
16             testHook.doHook();
17         }
18         return true;
19     }
20 }
21
Popular Tags