01: /*-
02: * See the file LICENSE for redistribution information.
03: *
04: * Copyright (c) 2002,2008 Oracle. All rights reserved.
05: *
06: * $Id: TestHookExecute.java,v 1.4.2.2 2008/01/07 15:14:18 cwl Exp $
07: */
08:
09: 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: }
|