From 9ed8f75f74a76bddc2881f44cd918e379c24c969 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 10 Feb 2015 14:14:41 -0500 Subject: [PATCH] Change word_size to wordSize ... to respect the coding style. Change-Id: Ie68422182afad2532ce9238665bb06576fc3cc18 Signed-off-by: Simon Marchi --- .../cdt/tests/dsf/gdb/framework/SyncUtil.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/SyncUtil.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/SyncUtil.java index 3622fc09cb5..a81bb4bd17e 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/SyncUtil.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/framework/SyncUtil.java @@ -813,19 +813,19 @@ public class SyncUtil { * @param dmc the data model context * @param address the memory block address * @param offset the offset in the buffer - * @param word_size the size of a word, in octets + * @param wordSize the size of a word, in octets * @param count the number of bytes to read * @return the memory content * @throws InterruptedException * @throws ExecutionException */ public static MemoryByte[] readMemory(final IMemoryDMContext dmc, - final IAddress address, final long offset, final int word_size, + final IAddress address, final long offset, final int wordSize, final int count) throws InterruptedException, ExecutionException { Query query = new Query() { @Override protected void execute(DataRequestMonitor rm) { - fMemory.getMemory(dmc, address, offset, word_size, count, rm); + fMemory.getMemory(dmc, address, offset, wordSize, count, rm); } }; @@ -840,20 +840,20 @@ public class SyncUtil { * @param dmc the data model context * @param address the memory block address (could be an expression) * @param offset the offset from address - * @param word_size the word size, in octets + * @param wordSize the word size, in octets * @param count the number of bytes to write * @param buffer the byte buffer to write from * @throws InterruptedException * @throws ExecutionException */ public static void writeMemory(final IMemoryDMContext dmc, - final IAddress address, final long offset, final int word_size, + final IAddress address, final long offset, final int wordSize, final int count, final byte[] buffer) throws InterruptedException, ExecutionException { Query query = new Query() { @Override protected void execute(DataRequestMonitor rm) { - fMemory.setMemory(dmc, address, offset, word_size, count, + fMemory.setMemory(dmc, address, offset, wordSize, count, buffer, rm); } }; @@ -869,20 +869,20 @@ public class SyncUtil { * @param dmc the data model context * @param address the memory block address (could be an expression) * @param offset the offset from address - * @param word_size the word size, in octets + * @param wordSize the word size, in octets * @param count the number of bytes to write * @param pattern the pattern to write * @throws InterruptedException * @throws ExecutionException */ public static void fillMemory(final IMemoryDMContext dmc, - final IAddress address, final long offset, final int word_size, + final IAddress address, final long offset, final int wordSize, final int count, final byte[] pattern) throws InterruptedException, ExecutionException { Query query = new Query() { @Override protected void execute(DataRequestMonitor rm) { - fMemory.fillMemory(dmc, address, offset, word_size, count, + fMemory.fillMemory(dmc, address, offset, wordSize, count, pattern, rm); } };