From 4219b414709e2b34709db5cf536af3731963f9de Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 31 Jan 2005 13:18:59 +0000 Subject: Remove message about binding restriction for @annotation --- .../org/aspectj/weaver/patterns/BindingAnnotationTypePattern.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/patterns/BindingAnnotationTypePattern.java b/weaver/src/org/aspectj/weaver/patterns/BindingAnnotationTypePattern.java index df35459eb..e59907592 100644 --- a/weaver/src/org/aspectj/weaver/patterns/BindingAnnotationTypePattern.java +++ b/weaver/src/org/aspectj/weaver/patterns/BindingAnnotationTypePattern.java @@ -39,11 +39,6 @@ public class BindingAnnotationTypePattern extends ExactAnnotationTypePattern imp } public void resolveBinding(World world) { - // For 1.5.0 M1 - IMessage lim = MessageUtil.error("Binding not supported in @pcds (1.5.0 M1 limitation): " + - getSourceLocation()); - world.getMessageHandler().handleMessage(lim); - // End of 1.5.0 M1 if (resolved) return; resolved = true; -- cgit v1.2.3 lease/v1.12 Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD: https://github.com/go-gitea/giteawww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/embedded_stub.go
blob: 1f9af7b86b123b85aa1a2ef63af2f09a9d9218cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2020 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

// +build !bindata

package cmd

import (
	"fmt"
	"os"

	"github.com/urfave/cli"
)

// Cmdembedded represents the available extract sub-command.
var (
	Cmdembedded = cli.Command{
		Name:        "embedded",
		Usage:       "Extract embedded resources",
		Description: "A command for extracting embedded resources, like templates and images",
		Action:      extractorNotImplemented,
	}
)

func extractorNotImplemented(c *cli.Context) error {
	err := fmt.Errorf("Sorry: the 'embedded' subcommand is not available in builds without bindata")
	fmt.Fprintf(os.Stderr, "%s\n", err)
	return err
}