Displaying 3 results from an estimated 3 matches for "83f2e65".
Did you mean:
83afe65
2017 Mar 03
2
[PATCH] generator: java: Don't link to undocumented methods.
.....} for deprecated methods
replaced by internal methods doesn't work. The easiest way is just to
check for this and turn such links into plain text.
---
generator/java.ml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/generator/java.ml b/generator/java.ml
index 83f2e65..732cbe6 100644
--- a/generator/java.ml
+++ b/generator/java.ml
@@ -299,7 +299,15 @@ public class GuestFS {
(match f with
| { deprecated_by = Not_deprecated } -> ()
| { deprecated_by = Replaced_by alt } ->
- pr " * @deprecated In new code, use {@link...
2017 Mar 03
0
Re: [PATCH] generator: Allow actions to be deprecated with no replacement.
...;
> pr "\n\n @deprecated Use {!%s} instead" replacement
> + | Deprecated_no_replacement ->
> + has_tags := true;
> + pr "\n\n @deprecated"
Ditto.
> diff --git a/generator/java.ml b/generator/java.ml
> index 8f71feb..83f2e65 100644
> --- a/generator/java.ml
> +++ b/generator/java.ml
> @@ -297,9 +297,11 @@ public class GuestFS {
> | Some version -> pr " * @since %s\n" version
> );
> (match f with
> - | { deprecated_by = None } -> ()
> - |...
2017 Mar 03
2
[PATCH] generator: Allow actions to be deprecated with no replacement.
...hat there are problems
+with correct use of these functions."
+
let version_added = function
| { added = (0, 0, release) } -> Some (sprintf "0.%d" release)
| { added = ((0|1) as major, minor, release) } ->
diff --git a/generator/java.ml b/generator/java.ml
index 8f71feb..83f2e65 100644
--- a/generator/java.ml
+++ b/generator/java.ml
@@ -297,9 +297,11 @@ public class GuestFS {
| Some version -> pr " * @since %s\n" version
);
(match f with
- | { deprecated_by = None } -> ()
- | { deprecated_by = Some alt } ->
+...