ASF Bugzilla – Attachment 32106 Details for
Bug 57083
simplified the CachedResourceMode enum
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Code patch
0004-simplified-CachedResourceMode-enum.patch (text/plain), 1.27 KB, created by
Graham Russell
on 2014-10-13 20:40:15 UTC
(
hide
)
Description:
Code patch
Filename:
MIME Type:
Creator:
Graham Russell
Created:
2014-10-13 20:40:15 UTC
Size:
1.27 KB
patch
obsolete
>From 737d11154ca1cce59b4d590b7dbd1c6145c960d3 Mon Sep 17 00:00:00 2001 >From: ham1 <graham@ham1.co.uk> >Date: Mon, 13 Oct 2014 20:58:36 +0100 >Subject: [PATCH] simplified CachedResourceMode enum > >--- > .../jmeter/protocol/http/sampler/HTTPAbstractImpl.java | 12 +++--------- > 1 file changed, 3 insertions(+), 9 deletions(-) > >diff --git a/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java b/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java >index 3e0f0f8..205f254 100644 >--- a/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java >+++ b/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java >@@ -47,15 +47,9 @@ import org.apache.jmeter.util.JMeterUtils; > */ > public abstract class HTTPAbstractImpl implements Interruptible, HTTPConstantsInterface { > private static enum CachedResourceMode { >- RETURN_200_CACHE("RETURN_200_CACHE"), >- RETURN_NO_SAMPLE("RETURN_NO_SAMPLE"), >- RETURN_CUSTOM_STATUS("RETURN_CUSTOM_STATUS"); >- >- private String name; >- >- CachedResourceMode(String name) { >- this.name = name; >- } >+ RETURN_NO_SAMPLE(), >+ RETURN_200_CACHE(), >+ RETURN_CUSTOM_STATUS(); > } > > /** >-- >1.9.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57083
: 32106