[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[RFC][PATCH 12/22] JavaHL Ra API Implementation

From: Vladimir Berezniker <vmpn_at_hitechman.com>
Date: Sun, 22 Apr 2012 00:05:25 -0400

[[[
    JavaHL: Factor out common java string map processing into StringsTable
class from svn_string_t specific processing in the RevpropTable class

    [ in subversion/bindings/javahl/native ]

    * StringsTable.cpp, StringsTable.h, RevpropTable.cpp, RevpropTable.h
      (m_revprops): Move m_revprops to base class and rename to more
appropriate m_strings
      (RevpropTable): Move constructor logic to base class StringsTable
      (~RevpropTable): Move local reference release from destructor to the
end of the new common constructor as by the end of the constructor all data
has been copied and a reference to java object is no longer required

    * StringsTable.cpp, StringsTable.h
      (hash): New function to create (char *) to (char *) hash from java
Map<String, String> to be used for creating of lock tocken table for
svn_ra_open4 call

    * RevpropTable.cpp, RevpropTable.h
      (hash): Use the new base member variable m_strings instead of
m_revprops
]]]

Received on 2012-04-22 06:06:03 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.