Skip to content

Commit

Permalink
Merge pull request #385 from ngmr/improve-java-idiom-oayo-0d
Browse files Browse the repository at this point in the history
style: improve imports
  • Loading branch information
joe-chacko authored Nov 8, 2024
2 parents 7af2640 + c5dc4a0 commit 7995d7f
Showing 1 changed file with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010 IBM Corporation and others.
* Copyright 2024 IBM Corporation and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -17,24 +17,30 @@
*/
package org.apache.yoko.orb.Messaging;

import org.omg.CORBA.LocalObject;
import org.omg.CORBA.Policy;
import org.omg.Messaging.REQUEST_START_TIME_POLICY_TYPE;
import org.omg.Messaging.RequestStartTimePolicy;
import org.omg.TimeBase.UtcT;

final public class RequestStartTimePolicy_impl extends
org.omg.CORBA.LocalObject implements
org.omg.Messaging.RequestStartTimePolicy {
private org.omg.TimeBase.UtcT value_;
LocalObject implements
RequestStartTimePolicy {
private UtcT value_;

// ------------------------------------------------------------------
// Standard IDL to Java Mapping
// ------------------------------------------------------------------

public org.omg.TimeBase.UtcT start_time() {
public UtcT start_time() {
return value_;
}

public int policy_type() {
return org.omg.Messaging.REQUEST_START_TIME_POLICY_TYPE.value;
return REQUEST_START_TIME_POLICY_TYPE.value;
}

public org.omg.CORBA.Policy copy() {
public Policy copy() {
return this;
}

Expand All @@ -46,7 +52,7 @@ public void destroy() {
// Application programs must not use these functions directly
// ------------------------------------------------------------------

public RequestStartTimePolicy_impl(org.omg.TimeBase.UtcT value) {
public RequestStartTimePolicy_impl(UtcT value) {
value_ = value;
}
}

0 comments on commit 7995d7f

Please sign in to comment.