Skip to content

Commit b8bb5bd

Browse files
committed
CAUSEWAY-3973: [v2] makes the backport a non-breaking change for
consuming apps
1 parent ce099ce commit b8bb5bd

File tree

3 files changed

+61
-1
lines changed

3 files changed

+61
-1
lines changed

api/applib/src/main/java/org/apache/causeway/applib/layout/resource/LayoutResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* @since 4.0 {@index}
3232
*/
3333
@Getter @Accessors(fluent = true)
34-
public final class LayoutResource {
34+
public class LayoutResource {
3535

3636
private final String resourceName;
3737
private final CommonMimeType format;
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package org.apache.causeway.core.metamodel.services.grid.spi;
20+
21+
import org.apache.causeway.applib.value.NamedWithMimeType.CommonMimeType;
22+
23+
/**
24+
* @deprecated was promoted to applib
25+
*/
26+
@Deprecated(forRemoval = true)
27+
public final class LayoutResource extends org.apache.causeway.applib.layout.resource.LayoutResource{
28+
29+
public LayoutResource(String resourceName, CommonMimeType format, String content) {
30+
super(resourceName, format, content);
31+
}
32+
33+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package org.apache.causeway.core.metamodel.services.grid.spi;
20+
21+
/**
22+
* @deprecated was promoted to applib
23+
*/
24+
@Deprecated(forRemoval = true)
25+
public interface LayoutResourceLoader extends org.apache.causeway.applib.layout.resource.LayoutResourceLoader{
26+
27+
}

0 commit comments

Comments
 (0)