From 913e6b70c66d7c8f2e273f057995dc20d6a0e8a5 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 6 May 2011 22:13:56 +0100 Subject: minor: slightly shorten "show digest" printing code --- OpenSim/Services/AssetService/AssetService.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Services') diff --git a/OpenSim/Services/AssetService/AssetService.cs b/OpenSim/Services/AssetService/AssetService.cs index 03b660d..851b7b4 100644 --- a/OpenSim/Services/AssetService/AssetService.cs +++ b/OpenSim/Services/AssetService/AssetService.cs @@ -254,11 +254,11 @@ namespace OpenSim.Services.AssetService int i; - MainConsole.Instance.Output(String.Format("Name: {0}", asset.Name)); - MainConsole.Instance.Output(String.Format("Description: {0}", asset.Description)); - MainConsole.Instance.Output(String.Format("Type: {0} (type number = {1})", (AssetType)asset.Type, asset.Type)); - MainConsole.Instance.Output(String.Format("Content-type: {0}", asset.Metadata.ContentType)); - MainConsole.Instance.Output(String.Format("Flags: {0}", asset.Metadata.Flags.ToString())); + MainConsole.Instance.OutputFormat("Name: {0}", asset.Name); + MainConsole.Instance.OutputFormat("Description: {0}", asset.Description); + MainConsole.Instance.OutputFormat("Type: {0} (type number = {1})", (AssetType)asset.Type, asset.Type); + MainConsole.Instance.OutputFormat("Content-type: {0}", asset.Metadata.ContentType); + MainConsole.Instance.OutputFormat("Flags: {0}", asset.Metadata.Flags); for (i = 0 ; i < 5 ; i++) { -- cgit v1.1