Moving all license comments to the first line (#4656)

* changes for GL-4023

* changes for GL-4023

* changes for GL-4023

* changes for GL-4023

* changes for GL-4023

* changes for GL-4023

---------

Co-authored-by: isaacwen <isaac.wen@smilecdr.com>
This commit is contained in:
Isaac Wen 2023-03-20 10:04:26 -04:00 committed by GitHub
parent 8b80da6441
commit 14be0553d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2277 changed files with 4321 additions and 6568 deletions

View File

@ -213,6 +213,7 @@
</goals>
<phase>process-sources</phase>
<configuration>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<licenseName>apache_v2</licenseName>
<canUpdateDescription>true</canUpdateDescription>
<canUpdateCopyright>true</canUpdateCopyright>

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.android;
/*-
* #%L
* HAPI FHIR - Android
@ -19,6 +17,7 @@ package ca.uhn.fhir.android;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.android;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.okhttp.client.OkHttpRestfulClientFactory;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir;
/**
* Spring bean initialization constants.

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import org.hl7.fhir.instance.model.api.IBase;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.annotation.Child;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.IBoundCodeableConcept;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.util.UrlUtil;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
public enum ComboSearchParamType {

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
/**
* Non-checked exception indicating that HAPI was unable to initialize due to

View File

@ -1,3 +1,22 @@
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2023 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.context.api.AddProfileTagEnum;
@ -57,26 +76,6 @@ import java.util.Map.Entry;
import java.util.Properties;
import java.util.Set;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2023 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
/**
* The FHIR context is the central starting point for the use of the HAPI FHIR API. It should be created once, and then
* used as a factory for various other types of objects (parsers, clients, etc.).

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.IFhirVersion;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.validation.FhirValidator;

View File

@ -1,8 +1,3 @@
package ca.uhn.fhir.context;
import org.hl7.fhir.instance.model.api.IBase;
import org.hl7.fhir.instance.model.api.IBaseDatatype;
/*
* #%L
* HAPI FHIR - Core Library
@ -22,6 +17,10 @@ import org.hl7.fhir.instance.model.api.IBaseDatatype;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import org.hl7.fhir.instance.model.api.IBase;
import org.hl7.fhir.instance.model.api.IBaseDatatype;
public interface IRuntimeDatatypeDefinition {

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.context.RuntimeSearchParam.RuntimeSearchParamStatusEnum;
import ca.uhn.fhir.i18n.Msg;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.parser.IParser;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
/**
* This enum contains options to be used for {@link FhirContext#setPerformanceOptions(PerformanceOptionsEnum...)}

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;
import java.util.ArrayList;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.annotation.Child;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.annotation.Child;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,8 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import java.lang.reflect.Field;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;
import java.util.Collections;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import com.google.common.collect.Sets;
import org.apache.commons.lang3.Validate;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;
import java.util.Collections;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.annotation.Child;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.lang.reflect.Field;
import java.util.Collections;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.ExtensionDt;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import org.hl7.fhir.instance.model.api.IBaseResource;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.model.base.composite.BaseContainedDt;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import org.hl7.fhir.instance.model.api.IBaseResource;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.util.ArrayList;
import java.util.Collections;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import org.hl7.fhir.instance.model.api.IPrimitiveType;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.util.Map;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.util.Map;

View File

@ -1,7 +1,3 @@
package ca.uhn.fhir.context;
import java.util.Map;
/*
* #%L
* HAPI FHIR - Core Library
@ -21,6 +17,9 @@ import java.util.Map;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import java.util.Map;
import org.hl7.fhir.instance.model.api.IBase;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.annotation.ResourceDef;

View File

@ -1,3 +1,22 @@
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2023 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context;
import ca.uhn.fhir.context.phonetic.IPhoneticEncoder;
@ -27,26 +46,6 @@ import java.util.StringTokenizer;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import static org.apache.commons.lang3.StringUtils.trim;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2023 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
public class RuntimeSearchParam {
private final IIdType myId;
private final Set<String> myBase;

View File

@ -1,7 +1,3 @@
package ca.uhn.fhir.context.api;
import ca.uhn.fhir.context.FhirContext;
/*
* #%L
* HAPI FHIR - Core Library
@ -21,6 +17,9 @@ import ca.uhn.fhir.context.FhirContext;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.api;
import ca.uhn.fhir.context.FhirContext;
/**
* RESTful server behaviour for automatically adding profile tags when serializing resources

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.api;
import java.util.Set;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.phonetic;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.phonetic;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.phonetic;
import org.apache.commons.codec.EncoderException;
import org.apache.commons.codec.StringEncoder;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.phonetic;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.phonetic;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.phonetic;
public interface IPhoneticEncoder {
String name();

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.phonetic;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.phonetic;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.phonetic;
import com.google.common.base.CharMatcher;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.phonetic;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.phonetic;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.phonetic;
import ca.uhn.fhir.util.PhoneticEncoderUtil;
import org.apache.commons.codec.language.Caverphone1;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.support;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.support;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.support;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.support;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.support;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.support;
import ca.uhn.fhir.context.ConfigurationException;
import ca.uhn.fhir.context.FhirContext;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.support;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.support;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.support;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.i18n.Msg;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.support;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.support;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.support;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.support;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.support;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.support;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.support;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.support;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.support;
import org.thymeleaf.util.Validate;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.context.support;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.context.support;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.context.support;
import org.apache.commons.lang3.Validate;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.fhirpath;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.fhirpath;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.fhirpath;
import ca.uhn.fhir.rest.server.exceptions.InternalErrorException;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.fhirpath;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.fhirpath;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.fhirpath;
import org.hl7.fhir.instance.model.api.IBase;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.fhirpath;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.fhirpath;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.fhirpath;
import org.hl7.fhir.instance.model.api.IBase;
import org.hl7.fhir.instance.model.api.IIdType;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.i18n;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.i18n;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.i18n;
public final class HapiErrorCode {

View File

@ -1,3 +1,22 @@
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2023 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.i18n;
import ca.uhn.fhir.context.ConfigurationException;
@ -22,26 +41,6 @@ import static org.apache.commons.lang3.StringUtils.trim;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2023 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
/**
* This feature is not yet in its final state and should be considered an internal part of HAPI for now - use with caution
*/

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.i18n;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.i18n;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.i18n;
public final class Msg {
private static final String ERROR_CODE_PREFIX = "HAPI";

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.ListMultimap;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
import com.google.common.annotations.VisibleForTesting;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
public interface IBaseInterceptorBroadcaster<POINTCUT extends IPointcut> {

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
import javax.annotation.Nullable;
import java.util.Collection;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
public interface IInterceptorBroadcaster extends IBaseInterceptorBroadcaster<Pointcut> {

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
public interface IInterceptorService extends IBaseInterceptorService<Pointcut>, IInterceptorBroadcaster {

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
import javax.annotation.Nonnull;
import java.util.List;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.api;
import ca.uhn.fhir.model.base.resource.BaseOperationOutcome;
import ca.uhn.fhir.rest.annotation.Read;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.executor;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.executor;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.executor;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.interceptor.api.HookParams;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.executor;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.executor;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.executor;
import ca.uhn.fhir.interceptor.api.Hook;
import ca.uhn.fhir.interceptor.api.HookParams;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.model;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.model;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.model;
public class PartitionIdRequestDetails {

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.model;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.model;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.model;
import ca.uhn.fhir.model.api.IModelJson;
import ca.uhn.fhir.util.JsonUtil;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.interceptor.model;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.interceptor.model;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.interceptor.model;
import java.util.List;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.primitive.IdDt;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import java.io.Externalizable;
import java.io.IOException;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.annotation.Child;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import java.io.Serializable;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
public interface ICodingEnum {

View File

@ -1,7 +1,3 @@
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.ICompositeType;
/*
* #%L
* HAPI FHIR - Core Library
@ -21,6 +17,9 @@ import org.hl7.fhir.instance.model.api.ICompositeType;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.ICompositeType;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import java.util.List;

View File

@ -1,7 +1,3 @@
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.IBaseDatatype;
/*
* #%L
* HAPI FHIR - Core Library
@ -21,6 +17,9 @@ import org.hl7.fhir.instance.model.api.IBaseDatatype;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.IBaseDatatype;
public interface IDatatype extends IElement, IBaseDatatype {

View File

@ -1,7 +1,3 @@
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.IBase;
/*
* #%L
* HAPI FHIR - Core Library
@ -21,6 +17,9 @@ import org.hl7.fhir.instance.model.api.IBase;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.IBase;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
public interface IExtension extends IResourceBlock {
// nothing

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import java.io.InputStream;
import java.util.Date;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import ca.uhn.fhir.model.primitive.IdDt;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonInclude;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.IPrimitiveType;

View File

@ -1,7 +1,3 @@
package ca.uhn.fhir.model.api;
import java.io.Serializable;
/*
* #%L
* HAPI FHIR - Core Library
@ -21,6 +17,9 @@ import java.io.Serializable;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import java.io.Serializable;
import java.util.List;

View File

@ -1,7 +1,3 @@
package ca.uhn.fhir.model.api;
import java.io.Serializable;
/*
* #%L
* HAPI FHIR - Core Library
@ -21,6 +17,9 @@ import java.io.Serializable;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import java.io.Serializable;
import java.util.List;

View File

@ -1,9 +1,3 @@
package ca.uhn.fhir.model.api;
import java.io.Serializable;
import ca.uhn.fhir.context.FhirContext;
/*
* #%L
* HAPI FHIR - Core Library
@ -23,6 +17,11 @@ import ca.uhn.fhir.context.FhirContext;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import java.io.Serializable;
import ca.uhn.fhir.context.FhirContext;
public interface IQueryParameterType extends Serializable {

View File

@ -1,7 +1,3 @@
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.IBaseMetaType;
/*
* #%L
* HAPI FHIR - Core Library
@ -21,6 +17,9 @@ import org.hl7.fhir.instance.model.api.IBaseMetaType;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.IBaseMetaType;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.base.composite.BaseContainedDt;

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
public interface IResourceBlock extends ICompositeElement, IIdentifiableElement {
// nothing yet

View File

@ -1,5 +1,3 @@
package ca.uhn.fhir.model.api;
/*-
* #%L
* HAPI FHIR - Core Library
@ -19,6 +17,7 @@ package ca.uhn.fhir.model.api;
* limitations under the License.
* #L%
*/
package ca.uhn.fhir.model.api;
import org.hl7.fhir.instance.model.api.IPrimitiveType;

Some files were not shown because too many files have changed in this diff Show More