diff options
author | lbsa71 | 2007-12-27 21:41:48 +0000 |
---|---|---|
committer | lbsa71 | 2007-12-27 21:41:48 +0000 |
commit | efd90b56b761219af6425b1c7a2cdd3b6ffb4de2 (patch) | |
tree | bf5b897e1e3c13211e3e2fc61d30508b94c928c0 /OpenSim/Framework/Communications/Cache/AssetServer.cs | |
parent | * removed always true if (diff) | |
download | opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.zip opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.gz opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.bz2 opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.xz |
* Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/AssetServer.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetServer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetServer.cs b/OpenSim/Framework/Communications/Cache/AssetServer.cs index ae6494f..692ee1e 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServer.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServer.cs | |||
@@ -80,7 +80,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
80 | IObjectSet result = db.Query(new AssetUUIDQuery(req.AssetID)); | 80 | IObjectSet result = db.Query(new AssetUUIDQuery(req.AssetID)); |
81 | if (result.Count > 0) | 81 | if (result.Count > 0) |
82 | { | 82 | { |
83 | foundAsset = (AssetStorage)result.Next(); | 83 | foundAsset = (AssetStorage) result.Next(); |
84 | found = true; | 84 | found = true; |
85 | } | 85 | } |
86 | 86 | ||
@@ -93,7 +93,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
93 | asset.Name = foundAsset.Name; | 93 | asset.Name = foundAsset.Name; |
94 | idata = foundAsset.Data; | 94 | idata = foundAsset.Data; |
95 | asset.Data = idata; | 95 | asset.Data = idata; |
96 | 96 | ||
97 | return asset; | 97 | return asset; |
98 | } | 98 | } |
99 | else | 99 | else |
@@ -141,4 +141,4 @@ namespace OpenSim.Framework.Communications.Cache | |||
141 | return (asset.UUID == _findID); | 141 | return (asset.UUID == _findID); |
142 | } | 142 | } |
143 | } | 143 | } |
144 | } | 144 | } \ No newline at end of file |