File tree Expand file tree Collapse file tree 2 files changed +71
-0
lines changed
src/main/java/com/spotify/github/opencensus Expand file tree Collapse file tree 2 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ /*-
2+ * -\-\-
3+ * github-api
4+ * --
5+ * Copyright (C) 2016 - 2021 Spotify AB
6+ * --
7+ * Licensed under the Apache License, Version 2.0 (the "License");
8+ * you may not use this file except in compliance with the License.
9+ * You may obtain a copy of the License at
10+ *
11+ * http://www.apache.org/licenses/LICENSE-2.0
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS,
15+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ * See the License for the specific language governing permissions and
17+ * limitations under the License.
18+ * -/-/-
19+ */
20+
21+ package com .spotify .github .opencensus ;
22+
23+ import io .opencensus .trace .Span ;
24+
25+ /**
26+ * OpenCensusSpan is a wrapper around OpenCensus Span. This class is kept for backward
27+ * compatibility.
28+ *
29+ * @deprecated This class has been moved to the package com.spotify.github.tracing.opencensus.
30+ * Please use com.spotify.github.tracing.opencensus.OpenCensusSpan instead.
31+ */
32+ @ Deprecated
33+ public class OpenCensusSpan extends com .spotify .github .tracing .opencensus .OpenCensusSpan {
34+ public OpenCensusSpan (final Span span ) {
35+ super (span );
36+ }
37+ // This class is kept for backward compatibility
38+ }
Original file line number Diff line number Diff line change 1+ /*-
2+ * -\-\-
3+ * github-api
4+ * --
5+ * Copyright (C) 2016 - 2021 Spotify AB
6+ * --
7+ * Licensed under the Apache License, Version 2.0 (the "License");
8+ * you may not use this file except in compliance with the License.
9+ * You may obtain a copy of the License at
10+ *
11+ * http://www.apache.org/licenses/LICENSE-2.0
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS,
15+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ * See the License for the specific language governing permissions and
17+ * limitations under the License.
18+ * -/-/-
19+ */
20+
21+ package com .spotify .github .opencensus ;
22+
23+ /**
24+ * OpenCensusTracer is a wrapper around OpenCensus Tracer. This class is kept for backward
25+ * compatibility.
26+ *
27+ * @deprecated This class has been moved to the package com.spotify.github.tracing.opencensus.
28+ * Please use com.spotify.github.tracing.opencensus.OpenCensusTracer instead.
29+ */
30+ @ Deprecated
31+ public class OpenCensusTracer extends com .spotify .github .tracing .opencensus .OpenCensusTracer {
32+ // This class is kept for backward compatibility
33+ }
You can’t perform that action at this time.
0 commit comments